aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:12 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:12 -0400
commit6577f97d476f5ca5cfc38219d9dce881579ae1b5 (patch)
tree41237078e11987e4e74b956888c1c446d0c9040a
parent5a8078bebd3805d1150642c67440cc510e686f52 (diff)
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: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--drivers/net/ethernet/smsc/smc911x.c1
-rw-r--r--drivers/net/ethernet/smsc/smc91x.c1
-rw-r--r--drivers/net/ethernet/smsc/smsc911x.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c
index e88df9c7f1c0..bd64eb982e52 100644
--- a/drivers/net/ethernet/smsc/smc911x.c
+++ b/drivers/net/ethernet/smsc/smc911x.c
@@ -2173,7 +2173,6 @@ static struct platform_driver smc911x_driver = {
2173 .resume = smc911x_drv_resume, 2173 .resume = smc911x_drv_resume,
2174 .driver = { 2174 .driver = {
2175 .name = CARDNAME, 2175 .name = CARDNAME,
2176 .owner = THIS_MODULE,
2177 }, 2176 },
2178}; 2177};
2179 2178
diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c
index 5e94d00b96b3..a2649c81a393 100644
--- a/drivers/net/ethernet/smsc/smc91x.c
+++ b/drivers/net/ethernet/smsc/smc91x.c
@@ -2410,7 +2410,6 @@ static struct platform_driver smc_driver = {
2410 .remove = smc_drv_remove, 2410 .remove = smc_drv_remove,
2411 .driver = { 2411 .driver = {
2412 .name = CARDNAME, 2412 .name = CARDNAME,
2413 .owner = THIS_MODULE,
2414 .pm = &smc_drv_pm_ops, 2413 .pm = &smc_drv_pm_ops,
2415 .of_match_table = of_match_ptr(smc91x_match), 2414 .of_match_table = of_match_ptr(smc91x_match),
2416 }, 2415 },
diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c
index affb29da353e..a255be08e34f 100644
--- a/drivers/net/ethernet/smsc/smsc911x.c
+++ b/drivers/net/ethernet/smsc/smsc911x.c
@@ -2610,7 +2610,6 @@ static struct platform_driver smsc911x_driver = {
2610 .remove = smsc911x_drv_remove, 2610 .remove = smsc911x_drv_remove,
2611 .driver = { 2611 .driver = {
2612 .name = SMSC_CHIPNAME, 2612 .name = SMSC_CHIPNAME,
2613 .owner = THIS_MODULE,
2614 .pm = SMSC911X_PM_OPS, 2613 .pm = SMSC911X_PM_OPS,
2615 .of_match_table = of_match_ptr(smsc911x_dt_ids), 2614 .of_match_table = of_match_ptr(smsc911x_dt_ids),
2616 }, 2615 },