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

index ad19ba9df3c7c5a39c9ce8e82ffae15a31bde2af..5ecb3e6a5bb30917c5d94780f4c226a55ade164b 100644 (file)
@@ -1133,7 +1133,6 @@ static struct platform_driver xlr_net_driver = {
        .remove         = xlr_net_remove,
        .driver         = {
                .name   = "xlr-net",
-               .owner  = THIS_MODULE,
        },
 };