projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
566e026
)
usb: misc: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:49 +0000
(16:21 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:49 +0000
(16:21 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/usb/misc/usb3503.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/misc/usb3503.c
b/drivers/usb/misc/usb3503.c
index ae7e1206ca541aa90dcca8b9c15b601fa4fc1d78..20b4c30ef7b89fa0ef1e04e90902423e9e8e68e1 100644
(file)
--- a/
drivers/usb/misc/usb3503.c
+++ b/
drivers/usb/misc/usb3503.c
@@
-405,7
+405,6
@@
static struct platform_driver usb3503_platform_driver = {
.driver = {
.name = USB3503_I2C_NAME,
.of_match_table = of_match_ptr(usb3503_of_match),
- .owner = THIS_MODULE,
},
.probe = usb3503_platform_probe,
};