diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-02-19 06:41:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-25 02:07:52 +0100 |
commit | c859aa65a7ec40c02f435f14fa71de2a87c64513 (patch) | |
tree | e3537338526d1b40612cf0434e7ec87553b869e4 /drivers/usb/chipidea/ci.h | |
parent | Merge 3.14-rc4 into usb-next (diff) | |
download | linux-c859aa65a7ec40c02f435f14fa71de2a87c64513.tar.xz linux-c859aa65a7ec40c02f435f14fa71de2a87c64513.zip |
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 88b80f7728e4..e206406ae1d9 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; |