diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:05 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:05 -0400 |
commit | 63ad0215e1ad288910e4dcc957fd07ee99864866 (patch) | |
tree | 2a5b79390fc0717f78dc0d2a6d210db8bc2efae3 | |
parent | 3a2f66b5447ec65cc00924d1bce75162209dc299 (diff) |
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 <wsa@the-dreams.de>
-rw-r--r-- | drivers/net/ethernet/broadcom/genet/bcmgenet.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 = { | |||
2735 | .remove = bcmgenet_remove, | 2735 | .remove = bcmgenet_remove, |
2736 | .driver = { | 2736 | .driver = { |
2737 | .name = "bcmgenet", | 2737 | .name = "bcmgenet", |
2738 | .owner = THIS_MODULE, | ||
2739 | .of_match_table = bcmgenet_match, | 2738 | .of_match_table = bcmgenet_match, |
2740 | .pm = &bcmgenet_pm_ops, | 2739 | .pm = &bcmgenet_pm_ops, |
2741 | }, | 2740 | }, |