提交 64311571 编写于 作者: D Damien Lespiau 提交者: 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: NDamien Lespiau <damien.lespiau@intel.com>
Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 30a7862d
......@@ -1239,7 +1239,7 @@ skl_ddi_calculate_wrpll(int clock /* in Hz */,
if (found) {
dco_central_freq_deviation[dco_count] =
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]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册