Commit 5a21758d authored by Wolfram Sang's avatar Wolfram Sang

net: ethernet: adi: 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 078d6656
...@@ -1901,7 +1901,6 @@ static struct platform_driver bfin_mii_bus_driver = { ...@@ -1901,7 +1901,6 @@ static struct platform_driver bfin_mii_bus_driver = {
.remove = bfin_mii_bus_remove, .remove = bfin_mii_bus_remove,
.driver = { .driver = {
.name = "bfin_mii_bus", .name = "bfin_mii_bus",
.owner = THIS_MODULE,
}, },
}; };
...@@ -1912,7 +1911,6 @@ static struct platform_driver bfin_mac_driver = { ...@@ -1912,7 +1911,6 @@ static struct platform_driver bfin_mac_driver = {
.suspend = bfin_mac_suspend, .suspend = bfin_mac_suspend,
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.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