diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:04 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:04 -0400 |
commit | 884df0a3143b67b0f309656a3a47365d9bf77b94 (patch) | |
tree | 3bb2657cb1ce771727e055c72a3ec291617a5867 | |
parent | 0c026c179e83c6229b6744c2373d5c41e3bf606c (diff) |
net: ethernet: amd: 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/amd/au1000_eth.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/amd/sunlance.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/amd/au1000_eth.c b/drivers/net/ethernet/amd/au1000_eth.c index 6c323f4f457b..cb367cc59e0b 100644 --- a/drivers/net/ethernet/amd/au1000_eth.c +++ b/drivers/net/ethernet/amd/au1000_eth.c | |||
@@ -1461,7 +1461,6 @@ static struct platform_driver au1000_eth_driver = { | |||
1461 | .remove = au1000_remove, | 1461 | .remove = au1000_remove, |
1462 | .driver = { | 1462 | .driver = { |
1463 | .name = "au1000-eth", | 1463 | .name = "au1000-eth", |
1464 | .owner = THIS_MODULE, | ||
1465 | }, | 1464 | }, |
1466 | }; | 1465 | }; |
1467 | 1466 | ||
diff --git a/drivers/net/ethernet/amd/sunlance.c b/drivers/net/ethernet/amd/sunlance.c index 5e4273b7aa27..7847638bdd22 100644 --- a/drivers/net/ethernet/amd/sunlance.c +++ b/drivers/net/ethernet/amd/sunlance.c | |||
@@ -1524,7 +1524,6 @@ MODULE_DEVICE_TABLE(of, sunlance_sbus_match); | |||
1524 | static struct platform_driver sunlance_sbus_driver = { | 1524 | static struct platform_driver sunlance_sbus_driver = { |
1525 | .driver = { | 1525 | .driver = { |
1526 | .name = "sunlance", | 1526 | .name = "sunlance", |
1527 | .owner = THIS_MODULE, | ||
1528 | .of_match_table = sunlance_sbus_match, | 1527 | .of_match_table = sunlance_sbus_match, |
1529 | }, | 1528 | }, |
1530 | .probe = sunlance_sbus_probe, | 1529 | .probe = sunlance_sbus_probe, |