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:
7c3e905
)
usb: gadget: legacy: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:48 +0000
(16:21 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:48 +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/gadget/legacy/hid.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/legacy/hid.c
b/drivers/usb/gadget/legacy/hid.c
index 778613eb37af8aaefd943c63c991462f722d435f..3090aa2aa9772de67a3f3086e42068fcc35352af 100644
(file)
--- a/
drivers/usb/gadget/legacy/hid.c
+++ b/
drivers/usb/gadget/legacy/hid.c
@@
-231,7
+231,6
@@
static __refdata struct usb_composite_driver hidg_driver = {
static struct platform_driver hidg_plat_driver = {
.remove = hidg_plat_driver_remove,
.driver = {
- .owner = THIS_MODULE,
.name = "hidg",
},
};