drm/i915: Pass intel_encoder to to_lvds_encoder()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 12 Sep 2022 11:18:04 +0000 (14:18 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 26 Sep 2022 14:02:33 +0000 (17:02 +0300)
commit5e800d92313497a5a9fc7053890e870888181192
tree2236072682489278cf2f3bea864104f50ad2fe78
parent49fd54034a523a9241cd73cda6da485112bf4414
drm/i915: Pass intel_encoder to to_lvds_encoder()

Most of our encoder type cast stuff already operates on
intel_encoder rather than drm_encoder. Switch to_lvds_encoder()
over as well.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220912111814.17466-6-ville.syrjala@linux.intel.com
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_lvds.c