summaryrefslogtreecommitdiff
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:58 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:58 +0200
commit0dd115381375408110d7848cfbc5b5d0fafc1d44 (patch)
tree5f30671d01c0e2b96b23c21eaaefd15a40e2ee19 /net/dsa/dsa.c
parent75c43e049398d7822c356da611eab0b30a1249e1 (diff)
net: dsa: 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>
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r--net/dsa/dsa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index 22f34cf4cb27..29a8e972931a 100644
--- a/net/dsa/dsa.c
+++ b/net/dsa/dsa.c
@@ -744,7 +744,6 @@ static struct platform_driver dsa_driver = {
.shutdown = dsa_shutdown,
.driver = {
.name = "dsa",
- .owner = THIS_MODULE,
.of_match_table = dsa_of_match_table,
.pm = &dsa_pm_ops,
},