projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983ad97
)
usb: host: ohci-tmio: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 17 May 2013 09:51:27 +0000
(15:21 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 17 May 2013 17:14:53 +0000
(10:14 -0700)
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>
drivers/usb/host/ohci-tmio.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ohci-tmio.c
b/drivers/usb/host/ohci-tmio.c
index 5e3a6deb62b1e7d37b30f0f8a4f534f9e740fda9..ecb09a5ada9ca4d33af566b037f9e5e07fa9bf80 100644
(file)
--- 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;
}