Commit bfe68b14 authored by Wolfram Sang's avatar Wolfram Sang

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: default avatarWolfram Sang <wsa@the-dreams.de>
parent fe6a12d1
...@@ -1897,7 +1897,6 @@ static int cs89x0_platform_remove(struct platform_device *pdev) ...@@ -1897,7 +1897,6 @@ static int cs89x0_platform_remove(struct platform_device *pdev)
static struct platform_driver cs89x0_driver = { static struct platform_driver cs89x0_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
.remove = cs89x0_platform_remove, .remove = cs89x0_platform_remove,
}; };
......
...@@ -881,7 +881,6 @@ static struct platform_driver ep93xx_eth_driver = { ...@@ -881,7 +881,6 @@ static struct platform_driver ep93xx_eth_driver = {
.remove = ep93xx_eth_remove, .remove = ep93xx_eth_remove,
.driver = { .driver = {
.name = "ep93xx-eth", .name = "ep93xx-eth",
.owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment