]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: convert drm_for_each_detailed_block() to edid iter
authorJani Nikula <jani.nikula@intel.com>
Mon, 9 May 2022 12:03:01 +0000 (15:03 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 13 May 2022 15:12:55 +0000 (18:12 +0300)
commite3dc5d00cb0ca77eefd2afd59cf2bfd4c1fe13f0
tree25f78f0a4618fa84b3f99eb4a29d86eca458b68d
parentbbe2522eeb648f3ee9dc69bd7af0cbaf4e38b334
drm/edid: convert drm_for_each_detailed_block() to edid iter

We have an iterator for this, use it. It does include the base block,
but its tag is 0 and will be skipped.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a68718819a3dbfbdaaaddca7f73afa5ac6b33d07.1652097712.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c