aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-omap3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci-omap3.c')
-rw-r--r--drivers/usb/host/ohci-omap3.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/usb/host/ohci-omap3.c b/drivers/usb/host/ohci-omap3.c
index 8f713571a0b7..a09af26f69ed 100644
--- a/drivers/usb/host/ohci-omap3.c
+++ b/drivers/usb/host/ohci-omap3.c
@@ -231,14 +231,6 @@ static int ohci_hcd_omap3_remove(struct platform_device *pdev)
231 return 0; 231 return 0;
232} 232}
233 233
234static void ohci_hcd_omap3_shutdown(struct platform_device *pdev)
235{
236 struct usb_hcd *hcd = dev_get_drvdata(&pdev->dev);
237
238 if (hcd->driver->shutdown)
239 hcd->driver->shutdown(hcd);
240}
241
242static const struct of_device_id omap_ohci_dt_ids[] = { 234static const struct of_device_id omap_ohci_dt_ids[] = {
243 { .compatible = "ti,ohci-omap3" }, 235 { .compatible = "ti,ohci-omap3" },
244 { } 236 { }
@@ -249,7 +241,7 @@ MODULE_DEVICE_TABLE(of, omap_ohci_dt_ids);
249static struct platform_driver ohci_hcd_omap3_driver = { 241static struct platform_driver ohci_hcd_omap3_driver = {
250 .probe = ohci_hcd_omap3_probe, 242 .probe = ohci_hcd_omap3_probe,
251 .remove = ohci_hcd_omap3_remove, 243 .remove = ohci_hcd_omap3_remove,
252 .shutdown = ohci_hcd_omap3_shutdown, 244 .shutdown = usb_hcd_platform_shutdown,
253 .driver = { 245 .driver = {
254 .name = "ohci-omap3", 246 .name = "ohci-omap3",
255 .of_match_table = omap_ohci_dt_ids, 247 .of_match_table = omap_ohci_dt_ids,