drm/exynos: remove NULL check from exynos_drm_overlay_update
authorMandeep Singh Baines <msb@chromium.org>
Thu, 11 Oct 2012 01:30:23 +0000 (18:30 -0700)
committerGerrit <chrome-bot@google.com>
Tue, 13 Nov 2012 20:26:43 +0000 (12:26 -0800)
commit25357ded3f270d5e2a0dcb71e2a95d03f922cdd9
treee179724074e3b2724f345d5b11166132db8a02f9
parent19d38f5c1edb1881c11b14134ca695199b84a7e5
drm/exynos: remove NULL check from exynos_drm_overlay_update

We really shouldn't be handling this NULL pointer. If there
is a NULL pointer here, we've hit a kernel bug. No need for a
BUG_ON since the kernel will panic on any NULL dereference.

This allows us to make exynos_drm_overlay_update void.

BUG=chrome-os-partner:15349,chrome-os-partner:14965
TEST=Multiple VT switch, HDMI plug/unplug, sign in/out, suspend/resume,
     idle suspend/resume.

Change-Id: I39c4ee44260eaeb98594dfbe01f2b885039ab23c
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/35248
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_crtc.h
drivers/gpu/drm/exynos/exynos_drm_plane.c