diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:58 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:58 -0400 |
commit | 0dd115381375408110d7848cfbc5b5d0fafc1d44 (patch) | |
tree | 5f30671d01c0e2b96b23c21eaaefd15a40e2ee19 /net/dsa | |
parent | 75c43e049398d7822c356da611eab0b30a1249e1 (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')
-rw-r--r-- | net/dsa/dsa.c | 1 |
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 = { | |||
744 | .shutdown = dsa_shutdown, | 744 | .shutdown = dsa_shutdown, |
745 | .driver = { | 745 | .driver = { |
746 | .name = "dsa", | 746 | .name = "dsa", |
747 | .owner = THIS_MODULE, | ||
748 | .of_match_table = dsa_of_match_table, | 747 | .of_match_table = dsa_of_match_table, |
749 | .pm = &dsa_pm_ops, | 748 | .pm = &dsa_pm_ops, |
750 | }, | 749 | }, |