gpu: drm/lease:: Use list_{next/prev}_entry instead of list_entry
authorArushi Singhal <arushisinghal19971997@gmail.com>
Sun, 25 Mar 2018 18:01:32 +0000 (23:31 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 26 Mar 2018 08:38:06 +0000 (10:38 +0200)
commitaec06c7606be1635d82c16dda66282c2010bcd39
treeceef064e1d55aeb1079554515f69cc36103d52df
parent3ae7fb202d86b7847f237daa474f3946bdc3b0c6
gpu: drm/lease:: 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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1522000893-5331-2-git-send-email-arushisinghal19971997@gmail.com
drivers/gpu/drm/drm_lease.c