[PATCH 1/1] drm/exynos: Remove redundant use of of_match_ptr macro
Sachin Kamat
sachin.kamat at linaro.org
Wed May 22 04:51:20 PDT 2013
'mixer_match_types' is always compiled in. Hence of_match_ptr is not
necessary.
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
drivers/gpu/drm/exynos/exynos_mixer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
index ec3e376..ec45064 100644
--- a/drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/drivers/gpu/drm/exynos/exynos_mixer.c
@@ -1186,7 +1186,7 @@ static int mixer_probe(struct platform_device *pdev)
if (dev->of_node) {
const struct of_device_id *match;
- match = of_match_node(of_match_ptr(mixer_match_types),
+ match = of_match_node(mixer_match_types,
pdev->dev.of_node);
drv = (struct mixer_drv_data *)match->data;
} else {
--
1.7.9.5
More information about the dri-devel
mailing list