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>
This commit is contained in:
Wolfram Sang 2014-10-20 16:21:05 +02:00
parent 3a2f66b544
commit 63ad0215e1
1 changed files with 0 additions and 1 deletions

View File

@ -2735,7 +2735,6 @@ static struct platform_driver bcmgenet_driver = {
.remove = bcmgenet_remove, .remove = bcmgenet_remove,
.driver = { .driver = {
.name = "bcmgenet", .name = "bcmgenet",
.owner = THIS_MODULE,
.of_match_table = bcmgenet_match, .of_match_table = bcmgenet_match,
.pm = &bcmgenet_pm_ops, .pm = &bcmgenet_pm_ops,
}, },