diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:09 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:09 -0400 |
commit | 7a53834e6e79b98d71dab49b53e0f66608a67d55 (patch) | |
tree | 6b12f21c3c0109b30ab676dd0f848bba31007846 | |
parent | 379f023d273caf5e48e155581850e4ef24f52011 (diff) |
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: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/net/ethernet/marvell/mv643xx_eth.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c index b151a949f352..513276489d3f 100644 --- a/drivers/net/ethernet/marvell/mv643xx_eth.c +++ b/drivers/net/ethernet/marvell/mv643xx_eth.c | |||
@@ -2837,7 +2837,6 @@ static struct platform_driver mv643xx_eth_shared_driver = { | |||
2837 | .remove = mv643xx_eth_shared_remove, | 2837 | .remove = mv643xx_eth_shared_remove, |
2838 | .driver = { | 2838 | .driver = { |
2839 | .name = MV643XX_ETH_SHARED_NAME, | 2839 | .name = MV643XX_ETH_SHARED_NAME, |
2840 | .owner = THIS_MODULE, | ||
2841 | .of_match_table = of_match_ptr(mv643xx_eth_shared_ids), | 2840 | .of_match_table = of_match_ptr(mv643xx_eth_shared_ids), |
2842 | }, | 2841 | }, |
2843 | }; | 2842 | }; |
@@ -3186,7 +3185,6 @@ static struct platform_driver mv643xx_eth_driver = { | |||
3186 | .shutdown = mv643xx_eth_shutdown, | 3185 | .shutdown = mv643xx_eth_shutdown, |
3187 | .driver = { | 3186 | .driver = { |
3188 | .name = MV643XX_ETH_NAME, | 3187 | .name = MV643XX_ETH_NAME, |
3189 | .owner = THIS_MODULE, | ||
3190 | }, | 3188 | }, |
3191 | }; | 3189 | }; |
3192 | 3190 | ||