drm/radeon: Use DIV_ROUND_UP()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 Nov 2016 19:52:39 +0000 (21:52 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 14 Dec 2016 20:36:23 +0000 (22:36 +0200)
commit3a6176e7febb6a7b67fb15d99481795941b9e707
treea78ce5f855eacda0950bd1834e6c41cd44e180cf
parent489f32677751b97252c1788c8702da40584364be
drm/radeon: Use DIV_ROUND_UP()

Use DIV_ROUND_UP() instead of hand rolling it. Just a drive-by change.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479498793-31021-4-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/radeon/radeon_legacy_crtc.c