From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753255AbcHPJYl (ORCPT ); Tue, 16 Aug 2016 05:24:41 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:42207 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753123AbcHPJYX (ORCPT ); Tue, 16 Aug 2016 05:24:23 -0400 Subject: Re: [PATCH] extcon: Use the extcon_set_state_sync() instead of deprecated functions To: Chanwoo Choi , References: <1471331286-6718-1-git-send-email-cw00.choi@samsung.com> CC: , , Krzysztof Kozlowski , Charles Keepax , Chen-Yu Tsai , Ramakrishna Pallala , Kishon Vijay Abraham I From: Roger Quadros Message-ID: <820a21db-7c54-c499-3539-13f326158d6f@ti.com> Date: Tue, 16 Aug 2016 12:24:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1471331286-6718-1-git-send-email-cw00.choi@samsung.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Roger Quadros > Cc: Charles Keepax > Cc: Chen-Yu Tsai > Cc: Ramakrishna Pallala > Cc: Kishon Vijay Abraham I > Signed-off-by: Chanwoo Choi > --- > 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 cheers, -roger