This patches just replace the deprecated extcon API without any change of extcon operation and use the resource-managed function for extcon_register_notifier().
The new extcon API instead of deprecated API. - extcon_set_cable_state_() -> extcon_set_state_sync(); - extcon_get_cable_state_() -> extcon_get_state(); Changes from v1: - Rebase these patches based on v4.10-rc1. - Add acked-by tag from usb maintainer and reviewer. - Drop the phy/power-supply/chipidea patches. Chanwoo Choi (6): usb: dwc3: omap: Replace the extcon API usb: phy: msm: Replace the extcon API usb: phy: omap-otg: Replace the extcon API usb: phy: qcom-8x16-usb: Replace the extcon API usb: phy: tahvo: Replace the deprecated extcon API usb: renesas_usbhs: Replace the deprecated extcon API drivers/usb/dwc3/dwc3-omap.c | 20 +++++++------------- drivers/usb/phy/phy-msm-usb.c | 33 +++++++++++---------------------- drivers/usb/phy/phy-omap-otg.c | 24 ++++++------------------ drivers/usb/phy/phy-qcom-8x16-usb.c | 13 ++++--------- drivers/usb/phy/phy-tahvo.c | 10 +++++----- drivers/usb/renesas_usbhs/common.c | 2 +- 6 files changed, 34 insertions(+), 68 deletions(-) -- 1.9.1