drm/rockchip: use DIV_ROUND_UP macro for calculations.
authorWambui Karuga <wambui.karugax@gmail.com>
Thu, 9 Jan 2020 14:20:57 +0000 (17:20 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 13 Jan 2020 13:04:00 +0000 (14:04 +0100)
commit53c902b9998aab63c048af5798cbfd33b938cbdd
tree579bd1a1139e0ba7bbefd9164bad8465b576c903
parent8d6cb2f7fb90018d9e3efdc9bc95e6da213a352f
drm/rockchip: use DIV_ROUND_UP macro for calculations.

Replace the open coded calculation with the more concise and readable
DIV_ROUND_UP macro.

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200109142057.10744-1-wambui.karugax@gmail.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.h