]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd: use list_for_each_entry for list iteration.
authorWambui Karuga <wambui.karugax@gmail.com>
Fri, 3 Jan 2020 19:18:52 +0000 (22:18 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:04:16 +0000 (12:04 -0500)
commitb0d7ecd7633a6004c465a8dba205a66646324b7f
tree991a6e01222bc103422580febaf0ee42fcc7e6cd
parent3c20d544ef2aeb79aacf7e80d18c9909381e99a8
drm/amd: use list_for_each_entry for list iteration.

list_for_each() can be replaced by the more concise
list_for_each_entry() here for iteration over the lists.
This change was reported by coccinelle.

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c