Commit 7ddaa43e authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Krzysztof Kozlowski

pinctrl: samsung: Remove unneeded (void *) casts in of_match_table

of_device_id::data is an opaque pointer.  No explicit cast is needed.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 2ea659a9
...@@ -1185,25 +1185,25 @@ static int __maybe_unused samsung_pinctrl_resume(struct device *dev) ...@@ -1185,25 +1185,25 @@ static int __maybe_unused samsung_pinctrl_resume(struct device *dev)
static const struct of_device_id samsung_pinctrl_dt_match[] = { static const struct of_device_id samsung_pinctrl_dt_match[] = {
#ifdef CONFIG_PINCTRL_EXYNOS #ifdef CONFIG_PINCTRL_EXYNOS
{ .compatible = "samsung,exynos3250-pinctrl", { .compatible = "samsung,exynos3250-pinctrl",
.data = (void *)exynos3250_pin_ctrl }, .data = exynos3250_pin_ctrl },
{ .compatible = "samsung,exynos4210-pinctrl", { .compatible = "samsung,exynos4210-pinctrl",
.data = (void *)exynos4210_pin_ctrl }, .data = exynos4210_pin_ctrl },
{ .compatible = "samsung,exynos4x12-pinctrl", { .compatible = "samsung,exynos4x12-pinctrl",
.data = (void *)exynos4x12_pin_ctrl }, .data = exynos4x12_pin_ctrl },
{ .compatible = "samsung,exynos5250-pinctrl", { .compatible = "samsung,exynos5250-pinctrl",
.data = (void *)exynos5250_pin_ctrl }, .data = exynos5250_pin_ctrl },
{ .compatible = "samsung,exynos5260-pinctrl", { .compatible = "samsung,exynos5260-pinctrl",
.data = (void *)exynos5260_pin_ctrl }, .data = exynos5260_pin_ctrl },
{ .compatible = "samsung,exynos5410-pinctrl", { .compatible = "samsung,exynos5410-pinctrl",
.data = (void *)exynos5410_pin_ctrl }, .data = exynos5410_pin_ctrl },
{ .compatible = "samsung,exynos5420-pinctrl", { .compatible = "samsung,exynos5420-pinctrl",
.data = (void *)exynos5420_pin_ctrl }, .data = exynos5420_pin_ctrl },
{ .compatible = "samsung,exynos5433-pinctrl", { .compatible = "samsung,exynos5433-pinctrl",
.data = (void *)exynos5433_pin_ctrl }, .data = exynos5433_pin_ctrl },
{ .compatible = "samsung,s5pv210-pinctrl", { .compatible = "samsung,s5pv210-pinctrl",
.data = (void *)s5pv210_pin_ctrl }, .data = s5pv210_pin_ctrl },
{ .compatible = "samsung,exynos7-pinctrl", { .compatible = "samsung,exynos7-pinctrl",
.data = (void *)exynos7_pin_ctrl }, .data = exynos7_pin_ctrl },
#endif #endif
#ifdef CONFIG_PINCTRL_S3C64XX #ifdef CONFIG_PINCTRL_S3C64XX
{ .compatible = "samsung,s3c64xx-pinctrl", { .compatible = "samsung,s3c64xx-pinctrl",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment