[PATCH 1/5] phy: qcom-usb-hs: Replace the extcon API

2017-07-16 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - (deprecated) extcon_get_cable_state_() -> extcon_get_state() Acked-by: Kishon Vijay Abraham I Signed-off-by: Chanwoo Choi --- drivers/phy/qualcomm/phy-qcom-usb-h

[PATCH 2/5] phy: rockchip-inno-usb2: Replace the extcon API

2017-07-16 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() - extcon_set_cable_state_() -> extcon_set_state_sync() Cc: linux-rockc...@lists.infradead.org acked-by: Kishon Vijay

[PATCH 0/5] phy: Replace the deprecated extcon API

2017-07-16 Thread Chanwoo Choi
These patches replace the deprecated extcon API and remove them from extcon framework. The patch1 and patch2 were already acked by Kishon Vijay Abraham I. If patch3/patch4 are reviewed, I'll create the immutable branch and send the pull request to both usb and phy maintainer. Chanwoo Choi (5):

[PATCH 4/5] usb: gadget: udc: Replace the deprecated extcon API

2017-07-16 Thread Chanwoo Choi
This patch replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: Raviteja Garimella Signed-off-by: Chanwoo Choi --- drivers/usb/gadget/udc/snps_udc_plat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 de

[PATCH 5/5] extcon: Remove deprecated extcon_set/get_cable_state_()

2017-07-16 Thread Chanwoo Choi
The commit 575c2b867ee0 ("extcon: Rename the extcon_set/get_state() to maintain the function naming pattern") renames the extcon function as following: But, the extcon just keeps the old API to prevent the build error. This patch removes the deprecatd extcon API. - extcon_get_cable_state_() -> ext

[PATCH 3/5] phy: phy-bcm-ns2-usbdrd: Replace the deprecated extcon API

2017-07-16 Thread Chanwoo Choi
This patch replaces the deprecated extcon API as following: - extcon_set_cable_state_() -> extcon_get_state() Cc: Kishon Vijay Abraham I Cc: Raviteja Garimella Signed-off-by: Chanwoo Choi --- drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-