]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: drm: nouveau: Use list_{next/prev}_entry instead of list_entry
authorArushi Singhal <arushisinghal19971997@gmail.com>
Sun, 25 Mar 2018 18:01:33 +0000 (23:31 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 26 Mar 2018 14:10:52 +0000 (16:10 +0200)
commita5915e1dac5a1bfa281d09f2a41f4e764b98235c
tree46976850b7d807a2d955e6fb06d6ad6f8c3ac2f2
parent8e9b3f83a21ef9c267f6de1399167e4d10a499aa
gpu: drm: nouveau: Use list_{next/prev}_entry instead of list_entry

It's better to use list_entry instead of list_{next/prev}_entry
as it makes the code more clear to read.
This patch replace list_entry with list_{next/prev}_entry.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1522000893-5331-3-git-send-email-arushisinghal19971997@gmail.com
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c