Browse Source

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>
Wolfram Sang 10 years ago
parent
commit
3a2f66b544

+ 0 - 1
drivers/net/ethernet/broadcom/bcmsysport.c

@@ -1954,7 +1954,6 @@ static struct platform_driver bcm_sysport_driver = {
 	.remove	= bcm_sysport_remove,
 	.remove	= bcm_sysport_remove,
 	.driver =  {
 	.driver =  {
 		.name = "brcm-systemport",
 		.name = "brcm-systemport",
-		.owner = THIS_MODULE,
 		.of_match_table = bcm_sysport_of_match,
 		.of_match_table = bcm_sysport_of_match,
 		.pm = &bcm_sysport_pm_ops,
 		.pm = &bcm_sysport_pm_ops,
 	},
 	},

+ 0 - 1
drivers/net/ethernet/broadcom/sb1250-mac.c

@@ -2664,7 +2664,6 @@ static struct platform_driver sbmac_driver = {
 	.remove = __exit_p(sbmac_remove),
 	.remove = __exit_p(sbmac_remove),
 	.driver = {
 	.driver = {
 		.name = sbmac_string,
 		.name = sbmac_string,
-		.owner  = THIS_MODULE,
 	},
 	},
 };
 };