drm/i915: fix open-coded DIV_ROUND_UP
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 18 Oct 2013 21:48:24 +0000 (18:48 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Oct 2013 08:04:03 +0000 (10:04 +0200)
commitde45eaf7b9530b6137d3ce370b12b199fae01419
treed90b0f00787b77768f3b650b15e0fb8326f2e45f
parentdc39fff7229c01550cad1ee8fa0309dfafdcd2e7
drm/i915: fix open-coded DIV_ROUND_UP

Use the nice Kernel macro, it makes the code much more readable.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_fbdev.c