commit | b0d7ecd7633a6004c465a8dba205a66646324b7f | [log] [tgz] |
---|---|---|
author | Wambui Karuga <wambui.karugax@gmail.com> | Fri Jan 03 22:18:52 2020 +0300 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Jan 07 12:04:16 2020 -0500 |
tree | 991a6e01222bc103422580febaf0ee42fcc7e6cd | |
parent | 3c20d544ef2aeb79aacf7e80d18c9909381e99a8 [diff] |
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>