diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:08 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:08 -0400 |
commit | 379f023d273caf5e48e155581850e4ef24f52011 (patch) | |
tree | ce7d18accf0cd63188b95e2b8c0feff2231e552d | |
parent | 3f8e0b5fdda42cc1e17e141b6bff2d335b839b75 (diff) |
net: ethernet: ibm: emac: 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/ibm/emac/core.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/ibm/emac/mal.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/ibm/emac/rgmii.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/ibm/emac/tah.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/ibm/emac/zmii.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/ibm/emac/core.c b/drivers/net/ethernet/ibm/emac/core.c index 87bd953cc2ee..61ae5cbd1270 100644 --- a/drivers/net/ethernet/ibm/emac/core.c +++ b/drivers/net/ethernet/ibm/emac/core.c | |||
@@ -3009,7 +3009,6 @@ MODULE_DEVICE_TABLE(of, emac_match); | |||
3009 | static struct platform_driver emac_driver = { | 3009 | static struct platform_driver emac_driver = { |
3010 | .driver = { | 3010 | .driver = { |
3011 | .name = "emac", | 3011 | .name = "emac", |
3012 | .owner = THIS_MODULE, | ||
3013 | .of_match_table = emac_match, | 3012 | .of_match_table = emac_match, |
3014 | }, | 3013 | }, |
3015 | .probe = emac_probe, | 3014 | .probe = emac_probe, |
diff --git a/drivers/net/ethernet/ibm/emac/mal.c b/drivers/net/ethernet/ibm/emac/mal.c index 63eb959a28aa..dddaab11a4c7 100644 --- a/drivers/net/ethernet/ibm/emac/mal.c +++ b/drivers/net/ethernet/ibm/emac/mal.c | |||
@@ -776,7 +776,6 @@ static struct of_device_id mal_platform_match[] = | |||
776 | static struct platform_driver mal_of_driver = { | 776 | static struct platform_driver mal_of_driver = { |
777 | .driver = { | 777 | .driver = { |
778 | .name = "mcmal", | 778 | .name = "mcmal", |
779 | .owner = THIS_MODULE, | ||
780 | .of_match_table = mal_platform_match, | 779 | .of_match_table = mal_platform_match, |
781 | }, | 780 | }, |
782 | .probe = mal_probe, | 781 | .probe = mal_probe, |
diff --git a/drivers/net/ethernet/ibm/emac/rgmii.c b/drivers/net/ethernet/ibm/emac/rgmii.c index a01182cce965..457088fc5b06 100644 --- a/drivers/net/ethernet/ibm/emac/rgmii.c +++ b/drivers/net/ethernet/ibm/emac/rgmii.c | |||
@@ -319,7 +319,6 @@ static struct of_device_id rgmii_match[] = | |||
319 | static struct platform_driver rgmii_driver = { | 319 | static struct platform_driver rgmii_driver = { |
320 | .driver = { | 320 | .driver = { |
321 | .name = "emac-rgmii", | 321 | .name = "emac-rgmii", |
322 | .owner = THIS_MODULE, | ||
323 | .of_match_table = rgmii_match, | 322 | .of_match_table = rgmii_match, |
324 | }, | 323 | }, |
325 | .probe = rgmii_probe, | 324 | .probe = rgmii_probe, |
diff --git a/drivers/net/ethernet/ibm/emac/tah.c b/drivers/net/ethernet/ibm/emac/tah.c index 9f24769ed826..cb18e7f917c6 100644 --- a/drivers/net/ethernet/ibm/emac/tah.c +++ b/drivers/net/ethernet/ibm/emac/tah.c | |||
@@ -163,7 +163,6 @@ static struct of_device_id tah_match[] = | |||
163 | static struct platform_driver tah_driver = { | 163 | static struct platform_driver tah_driver = { |
164 | .driver = { | 164 | .driver = { |
165 | .name = "emac-tah", | 165 | .name = "emac-tah", |
166 | .owner = THIS_MODULE, | ||
167 | .of_match_table = tah_match, | 166 | .of_match_table = tah_match, |
168 | }, | 167 | }, |
169 | .probe = tah_probe, | 168 | .probe = tah_probe, |
diff --git a/drivers/net/ethernet/ibm/emac/zmii.c b/drivers/net/ethernet/ibm/emac/zmii.c index 9ca67a38c062..36409ccb75ea 100644 --- a/drivers/net/ethernet/ibm/emac/zmii.c +++ b/drivers/net/ethernet/ibm/emac/zmii.c | |||
@@ -310,7 +310,6 @@ static struct of_device_id zmii_match[] = | |||
310 | static struct platform_driver zmii_driver = { | 310 | static struct platform_driver zmii_driver = { |
311 | .driver = { | 311 | .driver = { |
312 | .name = "emac-zmii", | 312 | .name = "emac-zmii", |
313 | .owner = THIS_MODULE, | ||
314 | .of_match_table = zmii_match, | 313 | .of_match_table = zmii_match, |
315 | }, | 314 | }, |
316 | .probe = zmii_probe, | 315 | .probe = zmii_probe, |