aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:18 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:18 -0400
commitf853e9b3f16691b6ccb6d90aa67b56a852b49749 (patch)
treef448da2e21c1e58ab01f90f954efdc6eae75bdab
parente8460665ed5081b9f93349fe05ad3529f887c3d5 (diff)
net: wireless: rt2x00: drop owner assignment from platform_drivers
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>
-rw-r--r--drivers/net/wireless/rt2x00/rt2800soc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800soc.c b/drivers/net/wireless/rt2x00/rt2800soc.c
index f6d1bf5be006..aaa7aa4cad9d 100644
--- 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)
244static struct platform_driver rt2800soc_driver = { 244static struct platform_driver rt2800soc_driver = {
245 .driver = { 245 .driver = {
246 .name = "rt2800_wmac", 246 .name = "rt2800_wmac",
247 .owner = THIS_MODULE,
248 .mod_name = KBUILD_MODNAME, 247 .mod_name = KBUILD_MODNAME,
249 }, 248 },
250 .probe = rt2800soc_probe, 249 .probe = rt2800soc_probe,