Commit fe6a12d1 authored by Wolfram Sang's avatar Wolfram Sang

net: ethernet: cadence: 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 63ad0215
...@@ -469,7 +469,6 @@ static struct platform_driver at91ether_driver = { ...@@ -469,7 +469,6 @@ static struct platform_driver at91ether_driver = {
.resume = at91ether_resume, .resume = at91ether_resume,
.driver = { .driver = {
.name = "at91_ether", .name = "at91_ether",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(at91ether_dt_ids), .of_match_table = of_match_ptr(at91ether_dt_ids),
}, },
}; };
......
...@@ -2321,7 +2321,6 @@ static struct platform_driver macb_driver = { ...@@ -2321,7 +2321,6 @@ static struct platform_driver macb_driver = {
.remove = __exit_p(macb_remove), .remove = __exit_p(macb_remove),
.driver = { .driver = {
.name = "macb", .name = "macb",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(macb_dt_ids), .of_match_table = of_match_ptr(macb_dt_ids),
.pm = &macb_pm_ops, .pm = &macb_pm_ops,
}, },
......
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