aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-spear.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci-spear.c')
-rw-r--r--drivers/usb/host/ohci-spear.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c
index 3e19e0170d11..cc9dd9e4f05e 100644
--- a/drivers/usb/host/ohci-spear.c
+++ b/drivers/usb/host/ohci-spear.c
@@ -179,8 +179,6 @@ static int spear_ohci_hcd_drv_remove(struct platform_device *pdev)
179 spear_stop_ohci(ohci_p); 179 spear_stop_ohci(ohci_p);
180 180
181 usb_put_hcd(hcd); 181 usb_put_hcd(hcd);
182
183 platform_set_drvdata(pdev, NULL);
184 return 0; 182 return 0;
185} 183}
186 184
@@ -232,7 +230,7 @@ static struct platform_driver spear_ohci_hcd_driver = {
232 .driver = { 230 .driver = {
233 .owner = THIS_MODULE, 231 .owner = THIS_MODULE,
234 .name = "spear-ohci", 232 .name = "spear-ohci",
235 .of_match_table = of_match_ptr(spear_ohci_id_table), 233 .of_match_table = spear_ohci_id_table,
236 }, 234 },
237}; 235};
238 236