summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_mixer.c
diff options
context:
space:
mode:
authorSachin Kamat2013-06-05 09:00:23 +0200
committerInki Dae2013-06-28 14:11:48 +0200
commite436b09dc5fa33d36f4906f4556c4f543afd4b65 (patch)
tree3f7905bfae2b2ceab1e831cb53158cb9b3be9de6 /drivers/gpu/drm/exynos/exynos_mixer.c
parentdrm/exynos: remove ignoring return value warning in hdmi (diff)
downloadkernel-qcow2-linux-e436b09dc5fa33d36f4906f4556c4f543afd4b65.tar.gz
kernel-qcow2-linux-e436b09dc5fa33d36f4906f4556c4f543afd4b65.tar.xz
kernel-qcow2-linux-e436b09dc5fa33d36f4906f4556c4f543afd4b65.zip
drm/exynos: Remove redundant use of of_match_ptr macro
'mixer_match_types' is always compiled in. Hence of_match_ptr is not necessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_mixer.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_mixer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
index 3658e0743487..de5c735c8223 100644
--- a/drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/drivers/gpu/drm/exynos/exynos_mixer.c
@@ -1186,8 +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),
- dev->of_node);
+ match = of_match_node(mixer_match_types, dev->of_node);
drv = (struct mixer_drv_data *)match->data;
} else {
drv = (struct mixer_drv_data *)