diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:02 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:02 -0400 |
commit | 224cd4b44cbc14d73b13144d15d514d870d3ebfd (patch) | |
tree | 99529d0bdd6ae40f6e36f6e8e832840aa2f17c91 /drivers | |
parent | 0dc5a27a175b9b90fb8a84846f915d3a9f50dae9 (diff) |
net: ethernet: 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/ethoc.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/lantiq_etop.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/netx-eth.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/s6gmac.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c index 0bc6c102f3ac..f88cfaa359e7 100644 --- a/drivers/net/ethernet/ethoc.c +++ b/drivers/net/ethernet/ethoc.c | |||
@@ -1312,7 +1312,6 @@ static struct platform_driver ethoc_driver = { | |||
1312 | .resume = ethoc_resume, | 1312 | .resume = ethoc_resume, |
1313 | .driver = { | 1313 | .driver = { |
1314 | .name = "ethoc", | 1314 | .name = "ethoc", |
1315 | .owner = THIS_MODULE, | ||
1316 | .of_match_table = ethoc_match, | 1315 | .of_match_table = ethoc_match, |
1317 | }, | 1316 | }, |
1318 | }; | 1317 | }; |
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c index 2dad4d5047ba..581928c068f2 100644 --- a/drivers/net/ethernet/lantiq_etop.c +++ b/drivers/net/ethernet/lantiq_etop.c | |||
@@ -789,7 +789,6 @@ static struct platform_driver ltq_mii_driver = { | |||
789 | .remove = ltq_etop_remove, | 789 | .remove = ltq_etop_remove, |
790 | .driver = { | 790 | .driver = { |
791 | .name = "ltq_etop", | 791 | .name = "ltq_etop", |
792 | .owner = THIS_MODULE, | ||
793 | }, | 792 | }, |
794 | }; | 793 | }; |
795 | 794 | ||
diff --git a/drivers/net/ethernet/netx-eth.c b/drivers/net/ethernet/netx-eth.c index 8176c8a1cc6a..9fbc30264237 100644 --- a/drivers/net/ethernet/netx-eth.c +++ b/drivers/net/ethernet/netx-eth.c | |||
@@ -457,7 +457,6 @@ static struct platform_driver netx_eth_driver = { | |||
457 | .resume = netx_eth_drv_resume, | 457 | .resume = netx_eth_drv_resume, |
458 | .driver = { | 458 | .driver = { |
459 | .name = CARDNAME, | 459 | .name = CARDNAME, |
460 | .owner = THIS_MODULE, | ||
461 | }, | 460 | }, |
462 | }; | 461 | }; |
463 | 462 | ||
diff --git a/drivers/net/ethernet/s6gmac.c b/drivers/net/ethernet/s6gmac.c index 1f4449ad8900..f537cbea20e5 100644 --- a/drivers/net/ethernet/s6gmac.c +++ b/drivers/net/ethernet/s6gmac.c | |||
@@ -1048,7 +1048,6 @@ static struct platform_driver s6gmac_driver = { | |||
1048 | .remove = s6gmac_remove, | 1048 | .remove = s6gmac_remove, |
1049 | .driver = { | 1049 | .driver = { |
1050 | .name = "s6gmac", | 1050 | .name = "s6gmac", |
1051 | .owner = THIS_MODULE, | ||
1052 | }, | 1051 | }, |
1053 | }; | 1052 | }; |
1054 | 1053 | ||