aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:14 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:14 -0400
commitbd0e5d5a7eae99fc2abff756e4ad19825bf41c03 (patch)
treedd67e1d8907e2a4dfc498ddcefc4826f2f0ef28a
parent5e0b25165749a32616f30fbf5870507d5d765b89 (diff)
net: ethernet: wiznet: 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/wiznet/w5100.c1
-rw-r--r--drivers/net/ethernet/wiznet/w5300.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/wiznet/w5100.c b/drivers/net/ethernet/wiznet/w5100.c
index 0f56b1c0e082..13c5c9844da7 100644
--- a/drivers/net/ethernet/wiznet/w5100.c
+++ b/drivers/net/ethernet/wiznet/w5100.c
@@ -790,7 +790,6 @@ static SIMPLE_DEV_PM_OPS(w5100_pm_ops, w5100_suspend, w5100_resume);
790static struct platform_driver w5100_driver = { 790static struct platform_driver w5100_driver = {
791 .driver = { 791 .driver = {
792 .name = DRV_NAME, 792 .name = DRV_NAME,
793 .owner = THIS_MODULE,
794 .pm = &w5100_pm_ops, 793 .pm = &w5100_pm_ops,
795 }, 794 },
796 .probe = w5100_probe, 795 .probe = w5100_probe,
diff --git a/drivers/net/ethernet/wiznet/w5300.c b/drivers/net/ethernet/wiznet/w5300.c
index f961f14a0473..b9b2f7547c43 100644
--- a/drivers/net/ethernet/wiznet/w5300.c
+++ b/drivers/net/ethernet/wiznet/w5300.c
@@ -702,7 +702,6 @@ static SIMPLE_DEV_PM_OPS(w5300_pm_ops, w5300_suspend, w5300_resume);
702static struct platform_driver w5300_driver = { 702static struct platform_driver w5300_driver = {
703 .driver = { 703 .driver = {
704 .name = DRV_NAME, 704 .name = DRV_NAME,
705 .owner = THIS_MODULE,
706 .pm = &w5300_pm_ops, 705 .pm = &w5300_pm_ops,
707 }, 706 },
708 .probe = w5300_probe, 707 .probe = w5300_probe,