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:
e846066
)
net: wireless: rt2x00: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:18 +0000
(16:21 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:18 +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/wireless/rt2x00/rt2800soc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2800soc.c
b/drivers/net/wireless/rt2x00/rt2800soc.c
index f6d1bf5be006cd9d8a753d946ebf1f666df1428b..aaa7aa4cad9dd5a9ca9d73846d15f11a0b12226a 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2800soc.c
+++ b/
drivers/net/wireless/rt2x00/rt2800soc.c
@@
-244,7
+244,6
@@
static int rt2800soc_probe(struct platform_device *pdev)
static struct platform_driver rt2800soc_driver = {
.driver = {
.name = "rt2800_wmac",
- .owner = THIS_MODULE,
.mod_name = KBUILD_MODNAME,
},
.probe = rt2800soc_probe,