diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-06-05 16:00:23 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:44:01 +0900 |
commit | 2a4fa76f7a5d4293951f3b5922329347631e2034 (patch) | |
tree | e8c878df1d64163ee01fc408db639ed69d0f5928 | |
parent | 79e1e4d9541ff20f558ed386d923c3d9c33bfa97 (diff) | |
download | linux-3.10-2a4fa76f7a5d4293951f3b5922329347631e2034.tar.gz linux-3.10-2a4fa76f7a5d4293951f3b5922329347631e2034.tar.bz2 linux-3.10-2a4fa76f7a5d4293951f3b5922329347631e2034.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>
-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 7bd57b54828..4a4ff8b8446 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1182,8 +1182,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 *) |