drm/i915: Simplify aux_ch_to_digital_port()
Just return the correct thing from within the loop to make the code more readable. We have no ref counts/etc. to deal with here so no point in breaking from the loop just to return something. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240223203216.15210-2-ville.syrjala@linux.intel.comReviewed-by: Imre Deak <imre.deak@intel.com>
Showing
Please register or sign in to comment