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:
8e58ed1
)
net: can: c_can: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:00 +0000
(16:21 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:00 +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/net/can/c_can/c_can_platform.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/c_can/c_can_platform.c
b/drivers/net/can/c_can/c_can_platform.c
index fb279d6ae484ffe3c66f45ab6a8cbb339ef0808f..d06f45dc0f5901b429ffc079b3cf758d8e635b23 100644
(file)
--- a/
drivers/net/can/c_can/c_can_platform.c
+++ b/
drivers/net/can/c_can/c_can_platform.c
@@
-392,7
+392,6
@@
static int c_can_resume(struct platform_device *pdev)
static struct platform_driver c_can_plat_driver = {
.driver = {
.name = KBUILD_MODNAME,
- .owner = THIS_MODULE,
.of_match_table = c_can_of_table,
},
.probe = c_can_plat_probe,