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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Wolfram Sang 2014-10-20 16:21:03 +02:00
parent 078d665616
commit 5a21758d26

View File

@ -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 = {
.suspend = bfin_mac_suspend, .suspend = bfin_mac_suspend,
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.owner = THIS_MODULE,
}, },
}; };