diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-02-19 05:41:40 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-25 01:07:52 (GMT) |
commit | c859aa65a7ec40c02f435f14fa71de2a87c64513 (patch) | |
tree | e3537338526d1b40612cf0434e7ec87553b869e4 /drivers/usb/chipidea/ci.h | |
parent | 3c701651c8c5f35e846512070cdbf2f5980db62c (diff) | |
download | linux-c859aa65a7ec40c02f435f14fa71de2a87c64513.tar.xz |
usb: chipidea: refine PHY operation
- Delete global_phy due to we can get the phy from phy layer now
- using devm_usb_get_phy to instead of usb_get_phy
- delete the otg_set_peripheral, which should be handled by otg layer
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/ci.h')
-rw-r--r-- | drivers/usb/chipidea/ci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index 88b80f7..e206406 100644 --- a/drivers/usb/chipidea/ci.h +++ b/drivers/usb/chipidea/ci.h @@ -196,8 +196,6 @@ struct ci_hdrc { struct ci_hdrc_platform_data *platdata; int vbus_active; - /* FIXME: some day, we'll not use global phy */ - bool global_phy; struct usb_phy *transceiver; struct usb_hcd *hcd; struct dentry *debugfs; |