mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
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>
This commit is contained in:
parent
75c43e0493
commit
0dd1153813
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user