net: ethernet: ibm: emac: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:08 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:08 +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/ibm/emac/core.c
drivers/net/ethernet/ibm/emac/mal.c
drivers/net/ethernet/ibm/emac/rgmii.c
drivers/net/ethernet/ibm/emac/tah.c
drivers/net/ethernet/ibm/emac/zmii.c

index 87bd953cc2eeaef7f6af65902841645e98f7eda5..61ae5cbd1270bd7b7cc74898ff88c4aa6676c75b 100644 (file)
@@ -3009,7 +3009,6 @@ MODULE_DEVICE_TABLE(of, emac_match);
 static struct platform_driver emac_driver = {
        .driver = {
                .name = "emac",
-               .owner = THIS_MODULE,
                .of_match_table = emac_match,
        },
        .probe = emac_probe,
index 63eb959a28aa3e2f6703273013cce813394f8e86..dddaab11a4c71284fa62a4f6d5af7ed91bf5b703 100644 (file)
@@ -776,7 +776,6 @@ static struct of_device_id mal_platform_match[] =
 static struct platform_driver mal_of_driver = {
        .driver = {
                .name = "mcmal",
-               .owner = THIS_MODULE,
                .of_match_table = mal_platform_match,
        },
        .probe = mal_probe,
index a01182cce9655f6eb64345de79a6c879adaeea43..457088fc5b06b7d296b54a575fd4220b40ead9b5 100644 (file)
@@ -319,7 +319,6 @@ static struct of_device_id rgmii_match[] =
 static struct platform_driver rgmii_driver = {
        .driver = {
                .name = "emac-rgmii",
-               .owner = THIS_MODULE,
                .of_match_table = rgmii_match,
        },
        .probe = rgmii_probe,
index 9f24769ed82680d7c29e7dc6e22a26590c4f5d8d..cb18e7f917c68d58eec3f31b937465b66e56a900 100644 (file)
@@ -163,7 +163,6 @@ static struct of_device_id tah_match[] =
 static struct platform_driver tah_driver = {
        .driver = {
                .name = "emac-tah",
-               .owner = THIS_MODULE,
                .of_match_table = tah_match,
        },
        .probe = tah_probe,
index 9ca67a38c06208868926b4ba59f6403be143ea5b..36409ccb75ea86472df71d2a3d03f03bea560a8c 100644 (file)
@@ -310,7 +310,6 @@ static struct of_device_id zmii_match[] =
 static struct platform_driver zmii_driver = {
        .driver = {
                .name = "emac-zmii",
-               .owner = THIS_MODULE,
                .of_match_table = zmii_match,
        },
        .probe = zmii_probe,
This page took 0.041396 seconds and 5 git commands to generate.