mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08: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