net: ethernet: broadcom: genet: 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
3a2f66b544
commit
63ad0215e1
|
@ -2735,7 +2735,6 @@ static struct platform_driver bcmgenet_driver = {
|
||||||
.remove = bcmgenet_remove,
|
.remove = bcmgenet_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bcmgenet",
|
.name = "bcmgenet",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = bcmgenet_match,
|
.of_match_table = bcmgenet_match,
|
||||||
.pm = &bcmgenet_pm_ops,
|
.pm = &bcmgenet_pm_ops,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue