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)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 8 Aug 2016 02:17:22 +0000 (11:17 +0900)
commit575c2b867ee0c2affdd309f375c032c0c7dc219c
treecd9058ac27c503a659a78f1c6a9424fdebb67b10
parent7f2a0a1699b51bfd738f1e0b15e057996fe1f259
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