drm/i915: Use DIV_ROUND_CLOSEST()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 24 Sep 2013 18:26:19 +0000 (21:26 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:42 +0000 (07:45 +0200)
commit5de56df5c708f5d0d1bb2c156385a6740436affa
tree8e05cd19f762c2f49d9824accd8f39612e19816c
parent43b0ac531745c3b7cb523dbd2b3f80a2a97ca675
drm/i915: Use DIV_ROUND_CLOSEST()

vlv_find_best_dpll() has an open coded DIV_ROUND_CLOSEST(). Replace it
with the real thing.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c