net: ethernet: micrel: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:09 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:09 +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/micrel/ks8695net.c
drivers/net/ethernet/micrel/ks8842.c
drivers/net/ethernet/micrel/ks8851_mll.c

index 6c7c78baedcaf590f6f6c78f5155a1df2fa594e9..a8522d8af95d38b8abf670f9c0050aff206bb75c 100644 (file)
@@ -1612,7 +1612,6 @@ ks8695_drv_remove(struct platform_device *pdev)
 static struct platform_driver ks8695_driver = {
        .driver = {
                .name   = MODULENAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = ks8695_probe,
        .remove         = ks8695_drv_remove,
index 0c33b92a5a81103ec6ff03f83db0253409f03297..f78909a00f150edfd76065b2b993d9660edaebdd 100644 (file)
@@ -1255,7 +1255,6 @@ static int ks8842_remove(struct platform_device *pdev)
 static struct platform_driver ks8842_platform_driver = {
        .driver = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = ks8842_probe,
        .remove         = ks8842_remove,
index 0eb47649191be50524529a62716a4bb1974d576e..2fc5cd56c0a846d30e86ba7b6efa0bbfaedf264f 100644 (file)
@@ -1679,7 +1679,6 @@ static int ks8851_remove(struct platform_device *pdev)
 static struct platform_driver ks8851_platform_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(ks8851_ml_dt_ids),
        },
        .probe = ks8851_probe,