drm/i915: add for_each_port() and use it
authorJani Nikula <jani.nikula@intel.com>
Fri, 1 Nov 2019 13:43:33 +0000 (15:43 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 4 Nov 2019 12:58:35 +0000 (14:58 +0200)
commitc4a774c4192c78200a3b6c564c7eeb993b98b225
treecade605dc15cf20de46bee3c8bb15b9f18854ce4
parent7d148635253328dda7cfe55d57e3c828e9564427
drm/i915: add for_each_port() and use it

Add another for_each style macro to the pile of custom looping macros.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191101134333.11612-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_display.h