Commit 64311571 authored by Damien Lespiau's avatar Damien Lespiau Committed by Daniel Vetter

drm/i915/skl: Remove unnecessary () used with abs_diff()

abs_diff() properly protects its parameters, so no need for the outer ()
here.
Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 30a7862d
...@@ -1239,7 +1239,7 @@ skl_ddi_calculate_wrpll(int clock /* in Hz */, ...@@ -1239,7 +1239,7 @@ skl_ddi_calculate_wrpll(int clock /* in Hz */,
if (found) { if (found) {
dco_central_freq_deviation[dco_count] = dco_central_freq_deviation[dco_count] =
div64_u64(10000 * div64_u64(10000 *
abs_diff((candidate_p * afe_clock), abs_diff(candidate_p * afe_clock,
dco_central_freq[dco_count]), dco_central_freq[dco_count]),
dco_central_freq[dco_count]); dco_central_freq[dco_count]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment