]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pinctrl: freescale: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:22 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:22 +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>
15 files changed:
drivers/pinctrl/freescale/pinctrl-imx1.c
drivers/pinctrl/freescale/pinctrl-imx21.c
drivers/pinctrl/freescale/pinctrl-imx23.c
drivers/pinctrl/freescale/pinctrl-imx25.c
drivers/pinctrl/freescale/pinctrl-imx27.c
drivers/pinctrl/freescale/pinctrl-imx28.c
drivers/pinctrl/freescale/pinctrl-imx35.c
drivers/pinctrl/freescale/pinctrl-imx50.c
drivers/pinctrl/freescale/pinctrl-imx51.c
drivers/pinctrl/freescale/pinctrl-imx53.c
drivers/pinctrl/freescale/pinctrl-imx6dl.c
drivers/pinctrl/freescale/pinctrl-imx6q.c
drivers/pinctrl/freescale/pinctrl-imx6sl.c
drivers/pinctrl/freescale/pinctrl-imx6sx.c
drivers/pinctrl/freescale/pinctrl-vf610.c

index 533a6e51964846515e2fdd7418d9f365b465e274..d3bacb7d6d37b5226271763e6e1b3e866feba48a 100644 (file)
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(of, imx1_pinctrl_of_match);
 static struct platform_driver imx1_pinctrl_driver = {
        .driver = {
                .name           = "imx1-pinctrl",
-               .owner          = THIS_MODULE,
                .of_match_table = imx1_pinctrl_of_match,
        },
        .remove = imx1_pinctrl_core_remove,
index 1b3b2311b033c71c4958d3a9eaa654315c0e88e3..9d9aca3dbd7e6ecb91135389edbce918dfca54f2 100644 (file)
@@ -330,7 +330,6 @@ MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match);
 static struct platform_driver imx21_pinctrl_driver = {
        .driver = {
                .name           = "imx21-pinctrl",
-               .owner          = THIS_MODULE,
                .of_match_table = imx21_pinctrl_of_match,
        },
        .remove = imx1_pinctrl_core_remove,
index df79096becb00c28ef5bad06ff6f511c4ec0c212..955cbf4f094f8e8c6f554ba0b69b01fe37a390da 100644 (file)
@@ -281,7 +281,6 @@ MODULE_DEVICE_TABLE(of, imx23_pinctrl_of_match);
 static struct platform_driver imx23_pinctrl_driver = {
        .driver = {
                .name = "imx23-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = imx23_pinctrl_of_match,
        },
        .probe = imx23_pinctrl_probe,
index 550e6d77ac2b645aea23b6f76b017644c1b17104..8d1013a040c9100447dc7841761e2665b2392bcd 100644 (file)
@@ -328,7 +328,6 @@ static int imx25_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx25_pinctrl_driver = {
        .driver = {
                .name = "imx25-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(imx25_pinctrl_of_match),
        },
        .probe = imx25_pinctrl_probe,
index 945eccadea7480ff319f3f5b2e83f7cf56713f6d..a461d5881f375ecbd6fb55092e0d517893fcdec4 100644 (file)
@@ -402,7 +402,6 @@ static int imx27_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx27_pinctrl_driver = {
        .driver = {
                .name = "imx27-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(imx27_pinctrl_of_match),
        },
        .probe = imx27_pinctrl_probe,
index 3bd45da2122943bd5c6a633ed61b1ae4aadec34c..5082efec4f7241598f9863209494cfc19672ded1 100644 (file)
@@ -397,7 +397,6 @@ MODULE_DEVICE_TABLE(of, imx28_pinctrl_of_match);
 static struct platform_driver imx28_pinctrl_driver = {
        .driver = {
                .name = "imx28-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = imx28_pinctrl_of_match,
        },
        .probe = imx28_pinctrl_probe,
index 6bfbcd0112c1d305ac380239ddbba160fa6a3eda..9109c10c5dab1ae0378fd50605d32316af4d750f 100644 (file)
@@ -1018,7 +1018,6 @@ static int imx35_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx35_pinctrl_driver = {
        .driver = {
                .name = "imx35-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = imx35_pinctrl_of_match,
        },
        .probe = imx35_pinctrl_probe,
index e8bd604ab1476be3cc5e4121c8d0379fe81af0b0..51b31df96273602f5a7077bf66bc94a91c699957 100644 (file)
@@ -404,7 +404,6 @@ static int imx50_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx50_pinctrl_driver = {
        .driver = {
                .name = "imx50-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(imx50_pinctrl_of_match),
        },
        .probe = imx50_pinctrl_probe,
index b818051db7c9af14f53693e357970c0f41d94df0..8dec494aa2c677e1ee4142f2b4bfc50fed926050 100644 (file)
@@ -781,7 +781,6 @@ static int imx51_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx51_pinctrl_driver = {
        .driver = {
                .name = "imx51-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = imx51_pinctrl_of_match,
        },
        .probe = imx51_pinctrl_probe,
index 1884d53cf750708ebb9265fcff2f2921e181f84d..7344d340013c01d2ff67dae7ecfbda77b31f3a5f 100644 (file)
@@ -467,7 +467,6 @@ static int imx53_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx53_pinctrl_driver = {
        .driver = {
                .name = "imx53-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = imx53_pinctrl_of_match,
        },
        .probe = imx53_pinctrl_probe,
index 656c4b08cc2ecd5a4d93deca989dc45674c6ef83..6805c678c3b220d2e0d5622466441b69e2071bf6 100644 (file)
@@ -473,7 +473,6 @@ static int imx6dl_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx6dl_pinctrl_driver = {
        .driver = {
                .name = "imx6dl-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = imx6dl_pinctrl_of_match,
        },
        .probe = imx6dl_pinctrl_probe,
index 59bb5b4ec0f629bcb395333ce8d7bbe60853eebf..4d1fcb861ac1ae2f252cf303f4ac0bdc41bf1c90 100644 (file)
@@ -479,7 +479,6 @@ static int imx6q_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx6q_pinctrl_driver = {
        .driver = {
                .name = "imx6q-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = imx6q_pinctrl_of_match,
        },
        .probe = imx6q_pinctrl_probe,
index e0924bd7b98ca87558099f91e748274036c3450c..83fa5f19ae89ffefacb596af83b7127ff40400bd 100644 (file)
@@ -380,7 +380,6 @@ static int imx6sl_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx6sl_pinctrl_driver = {
        .driver = {
                .name = "imx6sl-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = imx6sl_pinctrl_of_match,
        },
        .probe = imx6sl_pinctrl_probe,
index 840344c8580da0e9d583d49c87175e08fc3ad3b3..0d78fe690818d17a5556e4a38e86ab02f24c1427 100644 (file)
@@ -383,7 +383,6 @@ static int imx6sx_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver imx6sx_pinctrl_driver = {
        .driver = {
                .name = "imx6sx-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(imx6sx_pinctrl_of_match),
        },
        .probe = imx6sx_pinctrl_probe,
index b788e1578954de5308b5233c932bee1daeab1a87..fc86276892fd3f0fb7a152497ac0085f1e833816 100644 (file)
@@ -315,7 +315,6 @@ static int vf610_pinctrl_probe(struct platform_device *pdev)
 static struct platform_driver vf610_pinctrl_driver = {
        .driver = {
                .name = "vf610-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = vf610_pinctrl_of_match,
        },
        .probe = vf610_pinctrl_probe,