aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorWambui Karuga <wambui.karugax@gmail.com>2020-01-03 22:18:52 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-01-07 12:04:16 -0500
commitb0d7ecd7633a6004c465a8dba205a66646324b7f (patch)
tree991a6e01222bc103422580febaf0ee42fcc7e6cd /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent3c20d544ef2aeb79aacf7e80d18c9909381e99a8 (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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions