net: ethernet: 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:
Родитель
0dc5a27a17
Коммит
224cd4b44c
|
@ -1312,7 +1312,6 @@ static struct platform_driver ethoc_driver = {
|
|||
.resume = ethoc_resume,
|
||||
.driver = {
|
||||
.name = "ethoc",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = ethoc_match,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -789,7 +789,6 @@ static struct platform_driver ltq_mii_driver = {
|
|||
.remove = ltq_etop_remove,
|
||||
.driver = {
|
||||
.name = "ltq_etop",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -457,7 +457,6 @@ static struct platform_driver netx_eth_driver = {
|
|||
.resume = netx_eth_drv_resume,
|
||||
.driver = {
|
||||
.name = CARDNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -1048,7 +1048,6 @@ static struct platform_driver s6gmac_driver = {
|
|||
.remove = s6gmac_remove,
|
||||
.driver = {
|
||||
.name = "s6gmac",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче