]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: dsa: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:58 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:58 +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>
net/dsa/dsa.c

index 22f34cf4cb27d1aad06dcb41a1f6d84d4dffd688..29a8e972931a2d8e73913fcfb32091063881521f 100644 (file)
@@ -744,7 +744,6 @@ static struct platform_driver dsa_driver = {
        .shutdown       = dsa_shutdown,
        .driver = {
                .name   = "dsa",
-               .owner  = THIS_MODULE,
                .of_match_table = dsa_of_match_table,
                .pm     = &dsa_pm_ops,
        },