FROMLIST: extcon: Rename the extcon_set/get_state() to maintain the function naming...
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 22 Jul 2016 04:03:17 +0000 (13:03 +0900)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 5 Aug 2016 02:05:54 +0000 (10:05 +0800)
commit8f1f87f08fff0f3dc4a4c98aa7c5281ef7a815b8
treec064ba0b918a3dfb2df44dc4f2f10cab40a3d389
parentb811cb2465c2464d7c1e1195944bd32dda3697a8
FROMLIST: 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.

Change-Id: I9dfdf0e254d2f598ca81836ec2a6a136da4fd8ba
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>
(cherry picked from commit 1bbc8c29be69
 git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git extcon-test)
Signed-off-by: Guenter Roeck <groeck@chromium.org>
drivers/extcon/extcon.c
include/linux/extcon.h