Re: [PATCH v2 4/6] extcon: Rename the extcon_set/get_state() to maintain the function naming pattern

From: Guenter Roeck
Date: Mon Aug 01 2016 - 15:51:58 EST


On Sun, Jul 31, 2016 at 10:50 PM, Chanwoo Choi <cw00.choi@xxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxx>
> Tested-by: Chris Zhong <zyw@xxxxxxxxxxxxxx>

Reviewed-by: Guenter Roeck <groeck@xxxxxxxxxxxx>