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

index 0bc6c102f3ac12ea41770e90c195e28e1927667b..f88cfaa359e725f1707ff25552993a3f94f57e00 100644 (file)
@@ -1312,7 +1312,6 @@ static struct platform_driver ethoc_driver = {
        .resume  = ethoc_resume,
        .driver  = {
                .name = "ethoc",
-               .owner = THIS_MODULE,
                .of_match_table = ethoc_match,
        },
 };
index 2dad4d5047bae724510dbd94d72d0fe4dbb006d8..581928c068f2796732f297ab7ef36910ef7c4e5d 100644 (file)
@@ -789,7 +789,6 @@ static struct platform_driver ltq_mii_driver = {
        .remove = ltq_etop_remove,
        .driver = {
                .name = "ltq_etop",
-               .owner = THIS_MODULE,
        },
 };
 
index 8176c8a1cc6a93b146724b62377b2f059c608306..9fbc302642373adfcca03be6cff38d3d442c7b08 100644 (file)
@@ -457,7 +457,6 @@ static struct platform_driver netx_eth_driver = {
        .resume         = netx_eth_drv_resume,
        .driver         = {
                .name   = CARDNAME,
-               .owner  = THIS_MODULE,
        },
 };
 
index 1f4449ad8900c9826a59900de114cbb0ac25e6a7..f537cbea20e5216180e4abcffae676f03446d316 100644 (file)
@@ -1048,7 +1048,6 @@ static struct platform_driver s6gmac_driver = {
        .remove = s6gmac_remove,
        .driver = {
                .name = "s6gmac",
-               .owner = THIS_MODULE,
        },
 };