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:
5bc879a
)
usb: dwc2: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:47 +0000
(16:21 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:47 +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/dwc2/gadget.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc2/gadget.c
b/drivers/usb/dwc2/gadget.c
index 7b5856fadd93f350ddaaeb2dda9e63be534987e6..6c658219706bcae645826ca21831974f0032a24c 100644
(file)
--- a/
drivers/usb/dwc2/gadget.c
+++ b/
drivers/usb/dwc2/gadget.c
@@
-3684,7
+3684,6
@@
MODULE_DEVICE_TABLE(of, s3c_hsotg_of_ids);
static struct platform_driver s3c_hsotg_driver = {
.driver = {
.name = "s3c-hsotg",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(s3c_hsotg_of_ids),
},
.probe = s3c_hsotg_probe,