]> 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)
committerKees Cook <keescook@chromium.org>
Tue, 21 Nov 2017 23:46:44 +0000 (15:46 -0800)
commit0078730f5b829226b03194332b3405314e60c81b
tree8b9d7a09f35fa31001d070ae6ae8ab3b6ff72c29
parentbca237a52ca0035b0a0380003283d8bf590188d5
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