drm/i915: Move encoder variable to tighter scope
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Jan 2020 19:08:13 +0000 (21:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Jan 2020 15:04:33 +0000 (17:04 +0200)
commit691313ea621482aa3da9721770b2642f789f63e5
tree3a30e7a89fd7e2740683b8e998531ff1451c1be6
parentb33950dd3ff89b83d5904133db30a5306641fd86
drm/i915: Move encoder variable to tighter scope

Let's not pollute the function scope with variables when they're
only needed inside some loops.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200115190813.17971-5-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_display.c