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

index 9ae36979bdee010aa2e8a276dc17611593e3383c..a06d2df5315264ae72d8b5be276ed54933ca54c4 100644 (file)
@@ -1954,7 +1954,6 @@ static struct platform_driver bcm_sysport_driver = {
        .remove = bcm_sysport_remove,
        .driver =  {
                .name = "brcm-systemport",
-               .owner = THIS_MODULE,
                .of_match_table = bcm_sysport_of_match,
                .pm = &bcm_sysport_pm_ops,
        },
index b61c14ed9b8d2bd4f80669978968d13a4fc2bba9..ac27e24264a5666e4e7418ee6fd252868b617b09 100644 (file)
@@ -2664,7 +2664,6 @@ static struct platform_driver sbmac_driver = {
        .remove = __exit_p(sbmac_remove),
        .driver = {
                .name = sbmac_string,
-               .owner  = THIS_MODULE,
        },
 };