mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
net: ethernet: 8390: 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
224cd4b44c
commit
078d665616
@ -1000,7 +1000,6 @@ static int ax_resume(struct platform_device *pdev)
|
||||
static struct platform_driver axdrv = {
|
||||
.driver = {
|
||||
.name = "ax88796",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ax_probe,
|
||||
.remove = ax_remove,
|
||||
|
@ -467,7 +467,6 @@ static int mcf8390_remove(struct platform_device *pdev)
|
||||
static struct platform_driver mcf8390_drv = {
|
||||
.driver = {
|
||||
.name = "mcf8390",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = mcf8390_probe,
|
||||
.remove = mcf8390_remove,
|
||||
|
@ -920,7 +920,6 @@ static struct platform_driver ne_driver = {
|
||||
.resume = ne_drv_resume,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user