drm/exynos: mixer: simplify mixer_cfg_rgb_fmt()
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Fri, 10 Mar 2017 13:30:16 +0000 (14:30 +0100)
committerInki Dae <inki.dae@samsung.com>
Thu, 1 Jun 2017 07:21:36 +0000 (16:21 +0900)
commit2a39db01361ec378718648de90a6e817f891b8d4
tree768245719bd3049719c3797f751c2831c0020337
parent526b4d3e8b5af7195a2aba596b8ec1622c8da564
drm/exynos: mixer: simplify mixer_cfg_rgb_fmt()

Convert if-statements to switch statement. Removes
duplicated code.

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c