OSDN Git Service

bus: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:19 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:19 +0000 (16:20 +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/bus/brcmstb_gisb.c
drivers/bus/imx-weim.c
drivers/bus/omap-ocp2scp.c
drivers/bus/omap_l3_noc.c

index f2cd6a2..5b15cd2 100644 (file)
@@ -276,7 +276,6 @@ static struct platform_driver brcmstb_gisb_arb_driver = {
        .probe  = brcmstb_gisb_arb_probe,
        .driver = {
                .name   = "brcm-gisb-arb",
-               .owner  = THIS_MODULE,
                .of_match_table = brcmstb_gisb_arb_of_match,
        },
 };
index 75c9681..0958b69 100644 (file)
@@ -206,7 +206,6 @@ static int __init weim_probe(struct platform_device *pdev)
 static struct platform_driver weim_driver = {
        .driver = {
                .name           = "imx-weim",
-               .owner          = THIS_MODULE,
                .of_match_table = weim_id_table,
        },
 };
index 5511f98..723ec06 100644 (file)
@@ -77,7 +77,6 @@ static struct platform_driver omap_ocp2scp_driver = {
        .remove         = omap_ocp2scp_remove,
        .driver         = {
                .name   = "omap-ocp2scp",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(omap_ocp2scp_id_table),
        },
 };
index 531ae59..1ff1863 100644 (file)
@@ -300,7 +300,6 @@ static struct platform_driver omap_l3_driver = {
        .probe          = omap_l3_probe,
        .driver         = {
                .name           = "omap_l3_noc",
-               .owner          = THIS_MODULE,
                .of_match_table = of_match_ptr(l3_noc_match),
        },
 };