summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-omap.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-17 15:21:25 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-17 10:14:53 -0700
commita655d45f58751e29f7ae1b331fd8362870ef3953 (patch)
treec226ffa96fdcfea9524bfc8f2903c1ce7c5b406a /drivers/usb/host/ohci-omap.c
parentfd70863c2fd59ba524972b70fe40d9dfe9c2c321 (diff)
downloadblackbird-op-linux-a655d45f58751e29f7ae1b331fd8362870ef3953.tar.gz
blackbird-op-linux-a655d45f58751e29f7ae1b331fd8362870ef3953.zip
usb: host: ohci-omap: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-omap.c')
-rw-r--r--drivers/usb/host/ohci-omap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c
index b1d32fb4a7ae..8747fa6a51b7 100644
--- a/drivers/usb/host/ohci-omap.c
+++ b/drivers/usb/host/ohci-omap.c
@@ -498,7 +498,6 @@ static int ohci_hcd_omap_drv_remove(struct platform_device *dev)
struct usb_hcd *hcd = platform_get_drvdata(dev);
usb_hcd_omap_remove(hcd, dev);
- platform_set_drvdata(dev, NULL);
return 0;
}
OpenPOWER on IntegriCloud