summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2015-07-01 13:11:34 +0900
committerFelipe Balbi <balbi@ti.com>2015-07-29 09:59:18 -0500
commit83b7b67c780500a1d5d87c44ee8963166154adfa (patch)
treeeed6f3322cd9028693ada3761d8f8804fbc79ac8 /include/linux/usb
parent50297b79b8fd426f678431a8e9dcee59afd33ec8 (diff)
downloadlinux-83b7b67c780500a1d5d87c44ee8963166154adfa.tar.gz
linux-83b7b67c780500a1d5d87c44ee8963166154adfa.tar.bz2
linux-83b7b67c780500a1d5d87c44ee8963166154adfa.zip
usb: phy: msm-usb: Replace deprecated API of extcon
This patch removes the deprecated notifier API of extcon framwork and then use the new extcon API with the unique id to indicate the each external connector (USB, USB-HOST). Alter deprecated API as following: - extcon_register_interest() -> extcon_register_notifier() - extcon_get_cable_state(*edev, char *) -> extcon_get_cable_state_(*edev, id) Cc: Felipe Balbi <balbi@ti.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/msm_hsusb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/msm_hsusb.h b/include/linux/usb/msm_hsusb.h
index e55a1504266e..5df2c8f59aa0 100644
--- a/include/linux/usb/msm_hsusb.h
+++ b/include/linux/usb/msm_hsusb.h
@@ -128,7 +128,7 @@ struct msm_otg_platform_data {
*/
struct msm_usb_cable {
struct notifier_block nb;
- struct extcon_specific_cable_nb conn;
+ struct extcon_dev *extcon;
};
/**