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

index 379b7fbded784df52068b92f836c921bf4661559..afa445842f3ea1618a0bde1c5a617d685137a344 100644 (file)
@@ -1081,7 +1081,6 @@ static struct platform_driver w90p910_ether_driver = {
        .remove         = w90p910_ether_remove,
        .driver         = {
                .name   = "nuc900-emc",
-               .owner  = THIS_MODULE,
        },
 };