Commit 6577f97d authored by Wolfram Sang's avatar Wolfram Sang

net: ethernet: smsc: 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 5a8078be
...@@ -2173,7 +2173,6 @@ static struct platform_driver smc911x_driver = { ...@@ -2173,7 +2173,6 @@ static struct platform_driver smc911x_driver = {
.resume = smc911x_drv_resume, .resume = smc911x_drv_resume,
.driver = { .driver = {
.name = CARDNAME, .name = CARDNAME,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -2410,7 +2410,6 @@ static struct platform_driver smc_driver = { ...@@ -2410,7 +2410,6 @@ static struct platform_driver smc_driver = {
.remove = smc_drv_remove, .remove = smc_drv_remove,
.driver = { .driver = {
.name = CARDNAME, .name = CARDNAME,
.owner = THIS_MODULE,
.pm = &smc_drv_pm_ops, .pm = &smc_drv_pm_ops,
.of_match_table = of_match_ptr(smc91x_match), .of_match_table = of_match_ptr(smc91x_match),
}, },
......
...@@ -2610,7 +2610,6 @@ static struct platform_driver smsc911x_driver = { ...@@ -2610,7 +2610,6 @@ static struct platform_driver smsc911x_driver = {
.remove = smsc911x_drv_remove, .remove = smsc911x_drv_remove,
.driver = { .driver = {
.name = SMSC_CHIPNAME, .name = SMSC_CHIPNAME,
.owner = THIS_MODULE,
.pm = SMSC911X_PM_OPS, .pm = SMSC911X_PM_OPS,
.of_match_table = of_match_ptr(smsc911x_dt_ids), .of_match_table = of_match_ptr(smsc911x_dt_ids),
}, },
......
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