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
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
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):
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
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
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(-