Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 606fca94 authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Walleij
Browse files

pinctrl: remove redundant of_match_ptr



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: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent fdc07cc1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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,
	},
};

+1 −1
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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,
Loading