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

index 5564a5fa3385a6b164eaf6aa97cfe090d8bd1ed9..5eac523b4b0ca6c557e9acd59d3b12207fa802ca 100644 (file)
@@ -870,7 +870,6 @@ static struct platform_driver meth_driver = {
        .remove = __exit_p(meth_remove),
        .driver = {
                .name   = "meth",
-               .owner  = THIS_MODULE,
        }
 };