Commit d6cc5c26 authored by Wolfram Sang's avatar Wolfram Sang

net: ethernet: faraday: 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 46c68a57
...@@ -1335,7 +1335,6 @@ static struct platform_driver ftgmac100_driver = { ...@@ -1335,7 +1335,6 @@ static struct platform_driver ftgmac100_driver = {
.remove = __exit_p(ftgmac100_remove), .remove = __exit_p(ftgmac100_remove),
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -1177,7 +1177,6 @@ static struct platform_driver ftmac100_driver = { ...@@ -1177,7 +1177,6 @@ static struct platform_driver ftmac100_driver = {
.remove = __exit_p(ftmac100_remove), .remove = __exit_p(ftmac100_remove),
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.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