]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: ethernet: broadcom: genet: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:05 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:05 +0000 (16:21 +0200)
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>
drivers/net/ethernet/broadcom/genet/bcmgenet.c

index fdc9ec09e453510636460780226e0349cc51b9a5..aafbefe9f78f770c282e1e2a4eb57ed13744fecc 100644 (file)
@@ -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,
        },