mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
net: ethernet: cirrus: 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
fe6a12d1b2
commit
bfe68b1423
2 changed files with 0 additions and 2 deletions
|
@ -1897,7 +1897,6 @@ static int cs89x0_platform_remove(struct platform_device *pdev)
|
|||
static struct platform_driver cs89x0_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = cs89x0_platform_remove,
|
||||
};
|
||||
|
|
|
@ -881,7 +881,6 @@ static struct platform_driver ep93xx_eth_driver = {
|
|||
.remove = ep93xx_eth_remove,
|
||||
.driver = {
|
||||
.name = "ep93xx-eth",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue