mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:20:53 +07:00
net: ethernet: amd: 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
0c026c179e
commit
884df0a314
@ -1461,7 +1461,6 @@ static struct platform_driver au1000_eth_driver = {
|
||||
.remove = au1000_remove,
|
||||
.driver = {
|
||||
.name = "au1000-eth",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1524,7 +1524,6 @@ MODULE_DEVICE_TABLE(of, sunlance_sbus_match);
|
||||
static struct platform_driver sunlance_sbus_driver = {
|
||||
.driver = {
|
||||
.name = "sunlance",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = sunlance_sbus_match,
|
||||
},
|
||||
.probe = sunlance_sbus_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user