drm/exynos: mixer: unify a check for video-processor window
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 16 Dec 2015 12:21:48 +0000 (13:21 +0100)
committerInki Dae <daeinki@gmail.com>
Tue, 12 Jan 2016 15:16:36 +0000 (00:16 +0900)
commit5e68fef24fab07f4decc78d421838eb73b7e3931
treec716b652a73908ec00dc84bcc1244ec5ade0d4a6
parent26a7af3ed8a59c27ce125e7619272ca45630d000
drm/exynos: mixer: unify a check for video-processor window

Always use macro instead of hard-coded '2' value in conditions related
to video processor window. Additional checks are not needed, because
video layer is registered only when video processor is available.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c