summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-tmio.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-17 15:21:27 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-17 10:14:53 -0700
commit933d0371f998510f1e445656b061fb76866d71f1 (patch)
tree2d301c77837833c9f57bb60d1d9794f14375ba81 /drivers/usb/host/ohci-tmio.c
parent983ad977d52e41ffbb68ec1964b95c9bd2687189 (diff)
downloadop-kernel-dev-933d0371f998510f1e445656b061fb76866d71f1.zip
op-kernel-dev-933d0371f998510f1e445656b061fb76866d71f1.tar.gz
usb: host: ohci-tmio: 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-tmio.c')
-rw-r--r--drivers/usb/host/ohci-tmio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c
index 5e3a6de..ecb09a5 100644
--- a/drivers/usb/host/ohci-tmio.c
+++ b/drivers/usb/host/ohci-tmio.c
@@ -287,8 +287,6 @@ static int ohci_hcd_tmio_drv_remove(struct platform_device *dev)
iounmap(tmio->ccr);
usb_put_hcd(hcd);
- platform_set_drvdata(dev, NULL);
-
return 0;
}
OpenPOWER on IntegriCloud