]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 24 Oct 2017 15:16:48 +0000 (08:16 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Oct 2017 23:47:46 +0000 (16:47 -0700)
commit75d72b806f4bbdc5c1f8b8243b4ea4af1bd06d3f
tree2944033d750ef49ddcf4d0bc02bdc12a869b366f
parent44640e054f3b6e5cdca65f4ff8114b7e0883d0d7
drm/vc4: Convert timers to use timer_setup()

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.

Cc: Eric Anholt <eric@anholt.net>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20171024151648.GA104538@beast
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_bo.c
drivers/gpu/drm/vc4/vc4_gem.c