]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tidss: Use drm_for_each_bridge_in_chain()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 22 Feb 2020 11:07:18 +0000 (13:07 +0200)
committerJyri Sarha <jsarha@ti.com>
Fri, 28 Feb 2020 12:48:58 +0000 (14:48 +0200)
commit1484473290dc97c66aedb283e5622551bd391ec7
tree43e20cee532e25053cd5fdda8e7a923fae5838de
parentcb35776fe1084d21e0f07165ed26d4846df8a997
drm/tidss: Use drm_for_each_bridge_in_chain()

Replace the manual encoder->bridge_chain walk with the
drm_for_each_bridge_in_chain() macro. Drivers should not touch the
bridge_chain field directly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200222110718.26272-1-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/tidss/tidss_encoder.c