aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:07 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:07 -0400
commitd6cc5c262205e1295b7d7f04f11957b206fec636 (patch)
treeb420fb88ec5c66225116cba33ddec57fa657c49d
parent46c68a571703f18b41c28d7305486d9c763cba9b (diff)
net: ethernet: faraday: 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/faraday/ftgmac100.c1
-rw-r--r--drivers/net/ethernet/faraday/ftmac100.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c
index c77fa4a69844..6d0c5d5eea6d 100644
--- a/drivers/net/ethernet/faraday/ftgmac100.c
+++ b/drivers/net/ethernet/faraday/ftgmac100.c
@@ -1335,7 +1335,6 @@ static struct platform_driver ftgmac100_driver = {
1335 .remove = __exit_p(ftgmac100_remove), 1335 .remove = __exit_p(ftgmac100_remove),
1336 .driver = { 1336 .driver = {
1337 .name = DRV_NAME, 1337 .name = DRV_NAME,
1338 .owner = THIS_MODULE,
1339 }, 1338 },
1340}; 1339};
1341 1340
diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c
index 4ff1adc6bfca..dce5f7b7f772 100644
--- a/drivers/net/ethernet/faraday/ftmac100.c
+++ b/drivers/net/ethernet/faraday/ftmac100.c
@@ -1177,7 +1177,6 @@ static struct platform_driver ftmac100_driver = {
1177 .remove = __exit_p(ftmac100_remove), 1177 .remove = __exit_p(ftmac100_remove),
1178 .driver = { 1178 .driver = {
1179 .name = DRV_NAME, 1179 .name = DRV_NAME,
1180 .owner = THIS_MODULE,
1181 }, 1180 },
1182}; 1181};
1183 1182