This patchset introduces one pointer of extcon device into usb phy structure, and some other helper functions to register extcon instead of each phy driver having its own related extcon APIs. Changes since v2: - Support separate extcon device. - Convert the phy-msm-usb driver. Changes since v1: - Fix build errors with random config. Baolin Wang (3): usb: phy: Introduce one extcon device into usb phy usb: phy: phy-qcom-8x16-usb: Remove redundant extcon register/unregister usb: phy: phy-msm-usb: Remove redundant extcon register/unregister drivers/usb/phy/Kconfig | 6 +-- drivers/usb/phy/phy-msm-usb.c | 85 ++++++++--------------------------- drivers/usb/phy/phy-qcom-8x16-usb.c | 20 +++------ drivers/usb/phy/phy.c | 57 +++++++++++++++++++++++ include/linux/usb/phy.h | 7 +++ 5 files changed, 90 insertions(+), 85 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html