diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:06 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:06 -0400 |
commit | bfe68b1423afc27cbc41733799ab170b6a876fa8 (patch) | |
tree | dc541ed3b2962b50cd99be9a6b81c3b5f120c364 | |
parent | fe6a12d1b2bc6aec1ae2d624a517cd7295733fba (diff) |
net: ethernet: cirrus: 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/cirrus/cs89x0.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/cirrus/ep93xx_eth.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/cirrus/cs89x0.c b/drivers/net/ethernet/cirrus/cs89x0.c index 9823a0ea7937..b2427928eb11 100644 --- a/drivers/net/ethernet/cirrus/cs89x0.c +++ b/drivers/net/ethernet/cirrus/cs89x0.c | |||
@@ -1897,7 +1897,6 @@ static int cs89x0_platform_remove(struct platform_device *pdev) | |||
1897 | static struct platform_driver cs89x0_driver = { | 1897 | static struct platform_driver cs89x0_driver = { |
1898 | .driver = { | 1898 | .driver = { |
1899 | .name = DRV_NAME, | 1899 | .name = DRV_NAME, |
1900 | .owner = THIS_MODULE, | ||
1901 | }, | 1900 | }, |
1902 | .remove = cs89x0_platform_remove, | 1901 | .remove = cs89x0_platform_remove, |
1903 | }; | 1902 | }; |
diff --git a/drivers/net/ethernet/cirrus/ep93xx_eth.c b/drivers/net/ethernet/cirrus/ep93xx_eth.c index 2be2a99c5ea3..3a12c096ea1c 100644 --- a/drivers/net/ethernet/cirrus/ep93xx_eth.c +++ b/drivers/net/ethernet/cirrus/ep93xx_eth.c | |||
@@ -881,7 +881,6 @@ static struct platform_driver ep93xx_eth_driver = { | |||
881 | .remove = ep93xx_eth_remove, | 881 | .remove = ep93xx_eth_remove, |
882 | .driver = { | 882 | .driver = { |
883 | .name = "ep93xx-eth", | 883 | .name = "ep93xx-eth", |
884 | .owner = THIS_MODULE, | ||
885 | }, | 884 | }, |
886 | }; | 885 | }; |
887 | 886 | ||