summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-09-25 16:37:43 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-09-30 10:20:08 +0200
commit5e7234c9ccf88c427448fbe147839b4dca82efde (patch)
tree64a119ea1e4c1848480d4b2819fb98f8042c98d0 /drivers/gpu/drm/i915/intel_sdvo.c
parent3c5f174e383d6eddd9190637cebd005174287996 (diff)
downloadtalos-obmc-linux-5e7234c9ccf88c427448fbe147839b4dca82efde.tar.gz
talos-obmc-linux-5e7234c9ccf88c427448fbe147839b4dca82efde.zip
drm/i915: s/mode/adjusted_mode/ in functions that really get passed the adjusted_mode
Rename the function argument to 'adjusted_mode' whenever the function only ever gets passed the adjusted_mode. v2: Update due to intel_dsi.c changes Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index b0b96fded708..ab75b6146e84 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -603,11 +603,11 @@ log_fail:
return false;
}
-static int intel_sdvo_get_pixel_multiplier(struct drm_display_mode *mode)
+static int intel_sdvo_get_pixel_multiplier(const struct drm_display_mode *adjusted_mode)
{
- if (mode->clock >= 100000)
+ if (adjusted_mode->clock >= 100000)
return 1;
- else if (mode->clock >= 50000)
+ else if (adjusted_mode->clock >= 50000)
return 2;
else
return 4;
OpenPOWER on IntegriCloud