Commit 3a2f66b5 authored by Wolfram Sang's avatar Wolfram Sang

net: ethernet: broadcom: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 69ddb8a2
...@@ -1954,7 +1954,6 @@ static struct platform_driver bcm_sysport_driver = { ...@@ -1954,7 +1954,6 @@ static struct platform_driver bcm_sysport_driver = {
.remove = bcm_sysport_remove, .remove = bcm_sysport_remove,
.driver = { .driver = {
.name = "brcm-systemport", .name = "brcm-systemport",
.owner = THIS_MODULE,
.of_match_table = bcm_sysport_of_match, .of_match_table = bcm_sysport_of_match,
.pm = &bcm_sysport_pm_ops, .pm = &bcm_sysport_pm_ops,
}, },
......
...@@ -2664,7 +2664,6 @@ static struct platform_driver sbmac_driver = { ...@@ -2664,7 +2664,6 @@ static struct platform_driver sbmac_driver = {
.remove = __exit_p(sbmac_remove), .remove = __exit_p(sbmac_remove),
.driver = { .driver = {
.name = sbmac_string, .name = sbmac_string,
.owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment