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:
Родитель
0c026c179e
Коммит
884df0a314
|
@ -1461,7 +1461,6 @@ static struct platform_driver au1000_eth_driver = {
|
||||||
.remove = au1000_remove,
|
.remove = au1000_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "au1000-eth",
|
.name = "au1000-eth",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1524,7 +1524,6 @@ MODULE_DEVICE_TABLE(of, sunlance_sbus_match);
|
||||||
static struct platform_driver sunlance_sbus_driver = {
|
static struct platform_driver sunlance_sbus_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sunlance",
|
.name = "sunlance",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = sunlance_sbus_match,
|
.of_match_table = sunlance_sbus_match,
|
||||||
},
|
},
|
||||||
.probe = sunlance_sbus_probe,
|
.probe = sunlance_sbus_probe,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче