summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-tmio.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-17 13:51:27 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-17 21:14:53 +0400
commit933d0371f998510f1e445656b061fb76866d71f1 (patch)
tree2d301c77837833c9f57bb60d1d9794f14375ba81 /drivers/usb/host/ohci-tmio.c
parent983ad977d52e41ffbb68ec1964b95c9bd2687189 (diff)
downloadlinux-933d0371f998510f1e445656b061fb76866d71f1.tar.xz
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 5e3a6deb62b1..ecb09a5ada9c 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;
}