drm/exynos/fimc: simplify pre-scaler ratio calculation
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 19 May 2014 10:54:06 +0000 (12:54 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:11 +0000 (02:07 +0900)
commitbe6cdfd17c1baa26bbe0e598cf9016f73ffe4cef
treec6cfffe7e1026785ebd95290c129083e25479f4f
parent3164605422d0a8b4b0b130fdf5f18cb3d023b77f
drm/exynos/fimc: simplify pre-scaler ratio calculation

The patch replaces dedicated function for scaling ratio
calculation by fls calls.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimc.c