mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08: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,
|
||||
.driver = {
|
||||
.name = "bfin_mii_bus",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
@ -1912,7 +1911,6 @@ static struct platform_driver bfin_mac_driver = {
|
||||
.suspend = bfin_mac_suspend,
|
||||
.driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user