]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: use DIV_ROUND_CLOSEST to find the closest div
authorChanho Park <chanho61.park@samsung.com>
Thu, 11 Feb 2016 14:11:20 +0000 (23:11 +0900)
committerInki Dae <daeinki@gmail.com>
Tue, 1 Mar 2016 14:37:21 +0000 (23:37 +0900)
commit320bdd69d9530a652a0dc840c4c95182a0201833
tree035ad59b145618e1235a7414de9ee1bddc4d95dc
parentd36654238e18c4edf8df983950b492ba1c21a39f
drm/exynos: use DIV_ROUND_CLOSEST to find the closest div

This patch uses DIV_ROUND_CLOSEST instead of DIV_ROUND_UP
The DIV_ROUND_CLOSEST can be used to find the closest integer
value when we divide some integers.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c