pinctrl: remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 28 Sep 2013 12:08:48 +0000 (17:38 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Oct 2013 08:02:25 +0000 (10:02 +0200)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

This is a squash commit of:
pinctrl: at91: Remove redundant of_match_ptr
pinctrl: exynos5440: Remove redundant of_match_ptr
pinctrl: imx35: Remove redundant of_match_ptr
pinctrl: imx51: Remove redundant of_match_ptr
pinctrl: imx53: Remove redundant of_match_ptr
pinctrl: imx6dl: Remove redundant of_match_ptr
pinctrl: imx6q: Remove redundant of_match_ptr
pinctrl: samsung: Remove redundant of_match_ptr
pinctrl: vf610: Remove redundant of_match_ptr
pinctrl: imx6sl: Remove redundant of_match_ptr
pinctrl: plgpio: Remove redundant of_match_ptr

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/pinctrl-exynos5440.c
drivers/pinctrl/pinctrl-imx35.c
drivers/pinctrl/pinctrl-imx51.c
drivers/pinctrl/pinctrl-imx53.c
drivers/pinctrl/pinctrl-imx6dl.c
drivers/pinctrl/pinctrl-imx6q.c
drivers/pinctrl/pinctrl-imx6sl.c
drivers/pinctrl/pinctrl-samsung.c
drivers/pinctrl/pinctrl-vf610.c
drivers/pinctrl/spear/pinctrl-plgpio.c

index 8ed9be8b96b5b3b74a53e2572719c5b53774a4cf..0c8bf9318aed3bad0eb8e5b4d4aae03f523d2e05 100644 (file)
@@ -1679,7 +1679,7 @@ static struct platform_driver at91_gpio_driver = {
        .driver = {
                .name = "gpio-at91",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(at91_gpio_of_match),
+               .of_match_table = at91_gpio_of_match,
        },
        .probe = at91_gpio_probe,
 };
@@ -1688,7 +1688,7 @@ static struct platform_driver at91_pinctrl_driver = {
        .driver = {
                .name = "pinctrl-at91",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(at91_pinctrl_of_match),
+               .of_match_table = at91_pinctrl_of_match,
        },
        .probe = at91_pinctrl_probe,
        .remove = at91_pinctrl_remove,
index 544d469c5a7b4dfae349e14503600e22e03b8017..8fe2ab0a769812ddf1af7737b126c68525de5057 100644 (file)
@@ -1048,7 +1048,7 @@ static struct platform_driver exynos5440_pinctrl_driver = {
        .driver = {
                .name   = "exynos5440-pinctrl",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(exynos5440_pinctrl_dt_match),
+               .of_match_table = exynos5440_pinctrl_dt_match,
        },
 };
 
index c4549829fc47311accd57592d86ed65c5bfc70d8..278a04ae8940acd4b1abc09b70b2d1cd57dbb534 100644 (file)
@@ -1019,7 +1019,7 @@ static struct platform_driver imx35_pinctrl_driver = {
        .driver = {
                .name = "imx35-pinctrl",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(imx35_pinctrl_of_match),
+               .of_match_table = imx35_pinctrl_of_match,
        },
        .probe = imx35_pinctrl_probe,
        .remove = imx_pinctrl_remove,
index db268b9200792de47485f38f629c750086600d54..19ab182bef6172ba41ac10b13bf8c11e06fdcc95 100644 (file)
@@ -782,7 +782,7 @@ static struct platform_driver imx51_pinctrl_driver = {
        .driver = {
                .name = "imx51-pinctrl",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(imx51_pinctrl_of_match),
+               .of_match_table = imx51_pinctrl_of_match,
        },
        .probe = imx51_pinctrl_probe,
        .remove = imx_pinctrl_remove,
index 17562ae9005ce3488f7cc088297d9ef81f402bbd..f8d45c4cfde756f6ae60e543989752e3033666ab 100644 (file)
@@ -468,7 +468,7 @@ static struct platform_driver imx53_pinctrl_driver = {
        .driver = {
                .name = "imx53-pinctrl",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(imx53_pinctrl_of_match),
+               .of_match_table = imx53_pinctrl_of_match,
        },
        .probe = imx53_pinctrl_probe,
        .remove = imx_pinctrl_remove,
index a76b724279364b00b42c585e77dd29beb8282eda..db2a1489bd995c7cf93503a4eeda681355b8fcec 100644 (file)
@@ -474,7 +474,7 @@ static struct platform_driver imx6dl_pinctrl_driver = {
        .driver = {
                .name = "imx6dl-pinctrl",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(imx6dl_pinctrl_of_match),
+               .of_match_table = imx6dl_pinctrl_of_match,
        },
        .probe = imx6dl_pinctrl_probe,
        .remove = imx_pinctrl_remove,
index 76dd9c4949f4ce4665c51a6b025799b639fa9d96..8eb5ac1bd5f695016a0f52576cf36a10ad4b5986 100644 (file)
@@ -480,7 +480,7 @@ static struct platform_driver imx6q_pinctrl_driver = {
        .driver = {
                .name = "imx6q-pinctrl",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(imx6q_pinctrl_of_match),
+               .of_match_table = imx6q_pinctrl_of_match,
        },
        .probe = imx6q_pinctrl_probe,
        .remove = imx_pinctrl_remove,
index 4eb7ccab5f2d1806f17012da9b38b9467db472c7..f21b7389df3c2771127e381030151d124782de36 100644 (file)
@@ -380,7 +380,7 @@ static struct platform_driver imx6sl_pinctrl_driver = {
        .driver = {
                .name = "imx6sl-pinctrl",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(imx6sl_pinctrl_of_match),
+               .of_match_table = imx6sl_pinctrl_of_match,
        },
        .probe = imx6sl_pinctrl_probe,
        .remove = imx_pinctrl_remove,
index 92a9d6c8db0a3ad5d5ff14aeca0f4d5e12676889..47ec2e8741e4221ba3dc03a4d1ce6cdba5184bb2 100644 (file)
@@ -1148,7 +1148,7 @@ static struct platform_driver samsung_pinctrl_driver = {
        .driver = {
                .name   = "samsung-pinctrl",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(samsung_pinctrl_dt_match),
+               .of_match_table = samsung_pinctrl_dt_match,
        },
 };
 
index 68a970b1dbcfbf8d822503a0123d12a9b465304b..bddd913d28ba0734f5bb88bc98afd574889d1f3f 100644 (file)
@@ -316,7 +316,7 @@ static struct platform_driver vf610_pinctrl_driver = {
        .driver = {
                .name = "vf610-pinctrl",
                .owner = THIS_MODULE,
-               .of_match_table = of_match_ptr(vf610_pinctrl_of_match),
+               .of_match_table = vf610_pinctrl_of_match,
        },
        .probe = vf610_pinctrl_probe,
        .remove = imx_pinctrl_remove,
index 0a7f0bdbaa7d0c335c4c53e96d27b78f53526419..ff2940e9f2a7455cd0c93ac24dff0ce4f70849ad 100644 (file)
@@ -735,7 +735,7 @@ static struct platform_driver plgpio_driver = {
                .owner = THIS_MODULE,
                .name = "spear-plgpio",
                .pm = &plgpio_dev_pm_ops,
-               .of_match_table = of_match_ptr(plgpio_of_match),
+               .of_match_table = plgpio_of_match,
        },
 };
 
This page took 0.031046 seconds and 5 git commands to generate.