Commit 7a53834e authored by Wolfram Sang's avatar Wolfram Sang

net: ethernet: marvell: 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 379f023d
...@@ -2837,7 +2837,6 @@ static struct platform_driver mv643xx_eth_shared_driver = { ...@@ -2837,7 +2837,6 @@ static struct platform_driver mv643xx_eth_shared_driver = {
.remove = mv643xx_eth_shared_remove, .remove = mv643xx_eth_shared_remove,
.driver = { .driver = {
.name = MV643XX_ETH_SHARED_NAME, .name = MV643XX_ETH_SHARED_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(mv643xx_eth_shared_ids), .of_match_table = of_match_ptr(mv643xx_eth_shared_ids),
}, },
}; };
...@@ -3186,7 +3185,6 @@ static struct platform_driver mv643xx_eth_driver = { ...@@ -3186,7 +3185,6 @@ static struct platform_driver mv643xx_eth_driver = {
.shutdown = mv643xx_eth_shutdown, .shutdown = mv643xx_eth_shutdown,
.driver = { .driver = {
.name = MV643XX_ETH_NAME, .name = MV643XX_ETH_NAME,
.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