drm/exynos: hdmi: Fix potential NULL pointer dereference error
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 12 Dec 2012 08:54:08 +0000 (14:24 +0530)
committerInki Dae <inki.dae@samsung.com>
Fri, 14 Dec 2012 06:40:50 +0000 (15:40 +0900)
commit1a4513b344fe1361ccb4936cf2c0526693297c33
treefe353387de00df5493d3ac7fba967e27977e7dc3
parent65da03507735f288b2c6250def1f5142bf6d5667
drm/exynos: hdmi: Fix potential NULL pointer dereference error

This is an unlikely case. However to silence the following smatch error
add a NULL check:
drivers/gpu/drm/exynos/exynos_hdmi.c:2486 hdmi_probe()
error: potential NULL dereference 'match'.

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