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

index c77fa4a6984458648a97960deeef2d0a54b6637c..6d0c5d5eea6dd21dccd26445ee87addbfb606aa1 100644 (file)
@@ -1335,7 +1335,6 @@ static struct platform_driver ftgmac100_driver = {
        .remove         = __exit_p(ftgmac100_remove),
        .driver         = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
        },
 };
 
index 4ff1adc6bfcab9132b1dbf673626f868430bbcc3..dce5f7b7f7729225d9bb9456a8c5d7e69be3bb2a 100644 (file)
@@ -1177,7 +1177,6 @@ static struct platform_driver ftmac100_driver = {
        .remove         = __exit_p(ftmac100_remove),
        .driver         = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
        },
 };