From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:05 +0000 (+0200) Subject: net: ethernet: broadcom: genet: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~156 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=63ad0215e1ad288910e4dcc957fd07ee99864866;p=karo-tx-linux.git net: ethernet: broadcom: genet: 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 --- diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index fdc9ec09e453..aafbefe9f78f 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -2735,7 +2735,6 @@ static struct platform_driver bcmgenet_driver = { .remove = bcmgenet_remove, .driver = { .name = "bcmgenet", - .owner = THIS_MODULE, .of_match_table = bcmgenet_match, .pm = &bcmgenet_pm_ops, },