diff options
author | Li Jun <jun.li@freescale.com> | 2015-06-18 15:08:43 +0800 |
---|---|---|
committer | Li Jun <jun.li@freescale.com> | 2015-07-22 10:22:12 +0800 |
commit | 420c8b1558b034107f741495fd7a19eab5b4976e (patch) | |
tree | e693bc504cbf950aed675d01e4071a79d80fae3f /drivers | |
parent | 4c07b7b00871a897ede211b22d90bfafc49affa7 (diff) |
MLK-11123-17 usb: common: remove of_usb_otg_adp_support
Since we have of_usb_set_otg_caps to cover all otg related features,
remove of_usb_otg_adp_support.
Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit aff0f1027cf1d98ea757f440ac6743eed2d6e168)
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/common/usb-common.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/usb/common/usb-common.c b/drivers/usb/common/usb-common.c index c56b883e34c4..5c11cee617e4 100644 --- a/drivers/usb/common/usb-common.c +++ b/drivers/usb/common/usb-common.c @@ -156,21 +156,6 @@ bool of_usb_host_tpl_support(struct device_node *np) EXPORT_SYMBOL_GPL(of_usb_host_tpl_support); /** - * of_usb_otg_adp_support - to get if otg adp is supported by the otg controller - * @np: Pointer to the given device_node - * - * The function gets if the otg port support ADP - */ -bool of_usb_otg_adp_support(struct device_node *np) -{ - if (of_find_property(np, "adp-support", NULL)) - return true; - - return false; -} -EXPORT_SYMBOL_GPL(of_usb_otg_adp_support); - -/** * of_usb_set_otg_caps - to set usb otg capabilities according to * the passed properties in DT. * @np: Pointer to the given device_node |