aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-omap.c')
-rw-r--r--drivers/usb/host/ehci-omap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index ac17a7c3a0cd..e9d9b09977e6 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -288,7 +288,6 @@ static int ehci_hcd_omap_remove(struct platform_device *pdev)
288{ 288{
289 struct device *dev = &pdev->dev; 289 struct device *dev = &pdev->dev;
290 struct usb_hcd *hcd = dev_get_drvdata(dev); 290 struct usb_hcd *hcd = dev_get_drvdata(dev);
291 struct ehci_hcd_omap_platform_data *pdata = dev->platform_data;
292 291
293 usb_remove_hcd(hcd); 292 usb_remove_hcd(hcd);
294 disable_put_regulator(dev->platform_data); 293 disable_put_regulator(dev->platform_data);
@@ -298,13 +297,6 @@ static int ehci_hcd_omap_remove(struct platform_device *pdev)
298 pm_runtime_put_sync(dev); 297 pm_runtime_put_sync(dev);
299 pm_runtime_disable(dev); 298 pm_runtime_disable(dev);
300 299
301 if (pdata->phy_reset) {
302 if (gpio_is_valid(pdata->reset_gpio_port[0]))
303 gpio_free(pdata->reset_gpio_port[0]);
304
305 if (gpio_is_valid(pdata->reset_gpio_port[1]))
306 gpio_free(pdata->reset_gpio_port[1]);
307 }
308 return 0; 300 return 0;
309} 301}
310 302