diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-06-05 03:00:23 -0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2013-06-28 08:11:48 -0400 |
commit | e436b09dc5fa33d36f4906f4556c4f543afd4b65 (patch) | |
tree | 3f7905bfae2b2ceab1e831cb53158cb9b3be9de6 | |
parent | ad07945a857858598fd5e3b24d226a3b501d5375 (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 3 |
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) | |||
1186 | 1186 | ||
1187 | if (dev->of_node) { | 1187 | if (dev->of_node) { |
1188 | const struct of_device_id *match; | 1188 | const struct of_device_id *match; |
1189 | match = of_match_node(of_match_ptr(mixer_match_types), | 1189 | match = of_match_node(mixer_match_types, dev->of_node); |
1190 | dev->of_node); | ||
1191 | drv = (struct mixer_drv_data *)match->data; | 1190 | drv = (struct mixer_drv_data *)match->data; |
1192 | } else { | 1191 | } else { |
1193 | drv = (struct mixer_drv_data *) | 1192 | drv = (struct mixer_drv_data *) |