drm/i915: Polish intel_get_lvds_encoder()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Mar 2019 20:26:52 +0000 (22:26 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 Mar 2019 14:36:54 +0000 (16:36 +0200)
commit17be49428a4f834d64235b861580b24786effe0e
treea6471674100ed50cb09258d66151716de0b4173e
parent27b680f917e755f1da6f4b22363af96e65969c4e
drm/i915: Polish intel_get_lvds_encoder()

Pass dev_priv to intel_get_lvds_encoder() and polish the
implementation a bit.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190318202653.15217-2-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lvds.c