diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-17 05:51:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-17 13:14:53 -0400 |
commit | 933d0371f998510f1e445656b061fb76866d71f1 (patch) | |
tree | 2d301c77837833c9f57bb60d1d9794f14375ba81 | |
parent | 983ad977d52e41ffbb68ec1964b95c9bd2687189 (diff) |
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>
-rw-r--r-- | drivers/usb/host/ohci-tmio.c | 2 |
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) | |||
287 | iounmap(tmio->ccr); | 287 | iounmap(tmio->ccr); |
288 | usb_put_hcd(hcd); | 288 | usb_put_hcd(hcd); |
289 | 289 | ||
290 | platform_set_drvdata(dev, NULL); | ||
291 | |||
292 | return 0; | 290 | return 0; |
293 | } | 291 | } |
294 | 292 | ||