drm/i915/dp: Use a local variable for intel_encoder *
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Thu, 27 Sep 2018 20:57:32 +0000 (13:57 -0700)
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Fri, 28 Sep 2018 02:32:56 +0000 (19:32 -0700)
commitd5acd97f5571189616685a4498b7d50687048979
treea8d2d9c6e8821defa4b4479740ac2b07e0d8f8a8
parentf24f6eb95807bca0dbd8dc5b2f3a4099000f4472
drm/i915/dp: Use a local variable for intel_encoder *

We have two cases of intel_dp to intel_encoder conversions, use a
local variable to store the conversion.

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180927205735.16651-3-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/i915/intel_dp.c