extcon: Rename the extcon_set/get_state() to maintain the function naming pattern
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 22 Jul 2016 04:03:17 +0000 (13:03 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:53 +0000 (16:48 +0530)
commit35872fdcbf5c109dab03fb36ddec35b7bad7d762
tree73af12823cdeaa4cae1b8a67f9766d80464ba6cb
parentceaa98f442cf09dc73946c6402489344367905ae
extcon: Rename the extcon_set/get_state() to maintain the function naming pattern

This patch just renames the existing extcon_get/set_cable_state_()
as following because of maintaining the function naming pattern
like as extcon APIs for property.
- extcon_set_cable_state_() -> extcon_set_state()
- extcon_get_cable_state_() -> extcon_get_state()

But, this patch remains the old extcon_set/get_cable_state_() functions
to prevent the build break. After altering new APIs, remove the old APIs.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chris Zhong <zyw@rock-chips.com>
Tested-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
drivers/extcon/extcon.c
include/linux/extcon.h