aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:05 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:05 -0400
commit3a2f66b5447ec65cc00924d1bce75162209dc299 (patch)
treec08e7690117c4b703a21f7485dd8afba4ddcd749
parent69ddb8a2c8032cfdcaa47007e7c5a86c51402708 (diff)
net: ethernet: broadcom: 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/broadcom/bcmsysport.c1
-rw-r--r--drivers/net/ethernet/broadcom/sb1250-mac.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bcmsysport.c b/drivers/net/ethernet/broadcom/bcmsysport.c
index 9ae36979bdee..a06d2df53152 100644
--- a/drivers/net/ethernet/broadcom/bcmsysport.c
+++ b/drivers/net/ethernet/broadcom/bcmsysport.c
@@ -1954,7 +1954,6 @@ static struct platform_driver bcm_sysport_driver = {
1954 .remove = bcm_sysport_remove, 1954 .remove = bcm_sysport_remove,
1955 .driver = { 1955 .driver = {
1956 .name = "brcm-systemport", 1956 .name = "brcm-systemport",
1957 .owner = THIS_MODULE,
1958 .of_match_table = bcm_sysport_of_match, 1957 .of_match_table = bcm_sysport_of_match,
1959 .pm = &bcm_sysport_pm_ops, 1958 .pm = &bcm_sysport_pm_ops,
1960 }, 1959 },
diff --git a/drivers/net/ethernet/broadcom/sb1250-mac.c b/drivers/net/ethernet/broadcom/sb1250-mac.c
index b61c14ed9b8d..ac27e24264a5 100644
--- a/drivers/net/ethernet/broadcom/sb1250-mac.c
+++ b/drivers/net/ethernet/broadcom/sb1250-mac.c
@@ -2664,7 +2664,6 @@ static struct platform_driver sbmac_driver = {
2664 .remove = __exit_p(sbmac_remove), 2664 .remove = __exit_p(sbmac_remove),
2665 .driver = { 2665 .driver = {
2666 .name = sbmac_string, 2666 .name = sbmac_string,
2667 .owner = THIS_MODULE,
2668 }, 2667 },
2669}; 2668};
2670 2669