OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2800soc.c
b/drivers/net/wireless/rt2x00/rt2800soc.c
index
f6d1bf5
..
aaa7aa4
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,