drm/exynos: hdmi: Add CONFIG_OF and use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 12 Dec 2012 08:54:07 +0000 (14:24 +0530)
committerInki Dae <inki.dae@samsung.com>
Fri, 14 Dec 2012 06:40:50 +0000 (15:40 +0900)
commit65da03507735f288b2c6250def1f5142bf6d5667
treead46ab73bf63081b88ce5cffa8c1712aabfaa92d
parenta55622570dc3e2d294db2ca7677cc32d65dfbf33
drm/exynos: hdmi: Add CONFIG_OF and use of_match_ptr() macro

Add CONFIG_OF to compile conditionally. of_match_ptr eliminates having
an #ifdef returning NULL for the case when OF is disabled.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_ddc.c
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_hdmiphy.c