Re: [PATCH] drm/rockchip: use DIV_ROUND_UP macro for calculations.

2020-01-13 Thread Heiko Stuebner
Am Donnerstag, 9. Januar 2020, 15:20:57 CET schrieb Wambui Karuga: > Replace the open coded calculation with the more concise and readable > DIV_ROUND_UP macro. > > Signed-off-by: Wambui Karuga applied to drm-misc-next Thanks Heiko ___ dri-devel mai

[PATCH] drm/rockchip: use DIV_ROUND_UP macro for calculations.

2020-01-09 Thread Wambui Karuga
Replace the open coded calculation with the more concise and readable DIV_ROUND_UP macro. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.h b/drivers/gpu/dr