aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:02 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:02 -0400
commit078d665616ece61c2bfb55a67d2ea758888f8bae (patch)
tree9851fd325f7bbfd1a763c33f6c87b0c412cb577f
parent224cd4b44cbc14d73b13144d15d514d870d3ebfd (diff)
net: ethernet: 8390: 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/8390/ax88796.c1
-rw-r--r--drivers/net/ethernet/8390/mcf8390.c1
-rw-r--r--drivers/net/ethernet/8390/ne.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/8390/ax88796.c b/drivers/net/ethernet/8390/ax88796.c
index 1d162ccb4733..0443654f0339 100644
--- a/drivers/net/ethernet/8390/ax88796.c
+++ b/drivers/net/ethernet/8390/ax88796.c
@@ -1000,7 +1000,6 @@ static int ax_resume(struct platform_device *pdev)
1000static struct platform_driver axdrv = { 1000static struct platform_driver axdrv = {
1001 .driver = { 1001 .driver = {
1002 .name = "ax88796", 1002 .name = "ax88796",
1003 .owner = THIS_MODULE,
1004 }, 1003 },
1005 .probe = ax_probe, 1004 .probe = ax_probe,
1006 .remove = ax_remove, 1005 .remove = ax_remove,
diff --git a/drivers/net/ethernet/8390/mcf8390.c b/drivers/net/ethernet/8390/mcf8390.c
index 38fcdcf7c4c7..e1c055574a11 100644
--- a/drivers/net/ethernet/8390/mcf8390.c
+++ b/drivers/net/ethernet/8390/mcf8390.c
@@ -467,7 +467,6 @@ static int mcf8390_remove(struct platform_device *pdev)
467static struct platform_driver mcf8390_drv = { 467static struct platform_driver mcf8390_drv = {
468 .driver = { 468 .driver = {
469 .name = "mcf8390", 469 .name = "mcf8390",
470 .owner = THIS_MODULE,
471 }, 470 },
472 .probe = mcf8390_probe, 471 .probe = mcf8390_probe,
473 .remove = mcf8390_remove, 472 .remove = mcf8390_remove,
diff --git a/drivers/net/ethernet/8390/ne.c b/drivers/net/ethernet/8390/ne.c
index de566fb6e0f7..c063b410a163 100644
--- a/drivers/net/ethernet/8390/ne.c
+++ b/drivers/net/ethernet/8390/ne.c
@@ -920,7 +920,6 @@ static struct platform_driver ne_driver = {
920 .resume = ne_drv_resume, 920 .resume = ne_drv_resume,
921 .driver = { 921 .driver = {
922 .name = DRV_NAME, 922 .name = DRV_NAME,
923 .owner = THIS_MODULE,
924 }, 923 },
925}; 924};
926 925