]> git.baikalelectronics.ru Git - kernel.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)
commit8b5d907426989e29eab43cccf99e1259b7059808
tree991a6e01222bc103422580febaf0ee42fcc7e6cd
parenta06735954e6c9d6c49100ce67e4ba971a03a44c9
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