summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_ddi.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-05-07 20:38:44 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-05-29 11:15:25 +0300
commit64311571a91fdd6d2ddc9055e9ba477f118067ad (patch)
treefe93d0134dea66895ce3bcbb28f9b0057b406eef /drivers/gpu/drm/i915/intel_ddi.c
parent30a7862de84e69abc3018c57184f485048eed9d8 (diff)
downloadlinux-64311571a91fdd6d2ddc9055e9ba477f118067ad.tar.xz
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: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ddi.c')
-rw-r--r--drivers/gpu/drm/i915/intel_ddi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index 416f8fbea34e..0f931740149b 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -1239,7 +1239,7 @@ found:
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]);