mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:20:53 +07:00
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:
parent
078d665616
commit
5a21758d26
@ -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,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user