Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1463591

Re: [PATCH] extcon: Use the extcon_set_state_sync() instead of deprecated functions

From Roger Quadros <rogerq@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH] extcon: Use the extcon_set_state_sync() instead of deprecated functions
Date 2016-08-16 11:30 +0200
Message-ID <s6IR4-1hW-23@gated-at.bofh.it> (permalink)
References <s6GFz-8pe-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 16/08/16 10:08, Chanwoo Choi wrote:
> This patch alters the renamed extcon API to set the state of the external
> connectors instead of deprecated extcon_set_cable_state_().
> 
> Because the patch[1] modifies the function name to maintain the function
> naming pattern.
> - extcon_set_cable_state_() -> extcon_set_state_sync()
> - extcon_get_cable_state_() -> extcon_get_state()
> 
> [1] https://lkml.org/lkml/2016/8/4/729
> - extcon: Rename the extcon_set/get_state() to maintain the function naming pattern
> 
> Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Roger Quadros <rogerq@ti.com>
> Cc: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> Cc: Chen-Yu Tsai <wens@csie.org>
> Cc: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
> Cc: Kishon Vijay Abraham I <kishon@ti.com>
> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
> ---
>  drivers/extcon/extcon-adc-jack.c |  4 ++--
>  drivers/extcon/extcon-arizona.c  | 16 +++++++-------
>  drivers/extcon/extcon-axp288.c   |  2 +-
>  drivers/extcon/extcon-gpio.c     |  2 +-
>  drivers/extcon/extcon-max14577.c | 14 ++++++------
>  drivers/extcon/extcon-max3355.c  |  8 +++----
>  drivers/extcon/extcon-max77693.c | 46 ++++++++++++++++++++--------------------
>  drivers/extcon/extcon-max77843.c | 22 +++++++++----------
>  drivers/extcon/extcon-max8997.c  | 20 ++++++++---------
>  drivers/extcon/extcon-palmas.c   | 16 +++++++-------
>  drivers/extcon/extcon-rt8973a.c  |  4 ++--
>  drivers/extcon/extcon-sm5502.c   |  4 ++--
>  drivers/extcon/extcon-usb-gpio.c |  8 +++----
>  13 files changed, 83 insertions(+), 83 deletions(-)

for extcon-usb-gpio.c

Acked-by: Roger Quadros <rogerq@ti.com>

cheers,
-roger

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] extcon: Use the extcon_set_state_sync() instead of deprecated  functions Chanwoo Choi <cw00.choi@samsung.com> - 2016-08-16 09:10 +0200
  Re: [PATCH] extcon: Use the extcon_set_state_sync() instead of  deprecated functions Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-08-16 10:40 +0200
  Re: [PATCH] extcon: Use the extcon_set_state_sync() instead of  deprecated functions Roger Quadros <rogerq@ti.com> - 2016-08-16 11:30 +0200

csiph-web