]> asedeno.scripts.mit.edu Git - linux.git/commit
media: media/saa7146: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 23:10:12 +0000 (19:10 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 10:38:53 +0000 (06:38 -0400)
commit3e3149173fd831e554f45c694e5349370601dd5f
tree377b59dcf4ef46b1844facf90b13e73b343d0573
parent82fad4762565ccae181c2d5ee332d47456e6ed7f
media: media/saa7146: 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. This requires adding a pointer to
hold the timer's target file, as there won't be a way to pass this in the
future.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/common/saa7146/saa7146_fops.c
drivers/media/common/saa7146/saa7146_vbi.c
include/media/drv-intf/saa7146_vv.h