]> asedeno.scripts.mit.edu Git - linux.git/commit
media: staging: atomisp: i2c: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 24 Oct 2017 08:22:11 +0000 (04:22 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 10:26:54 +0000 (06:26 -0400)
commitfdbc17101e4eb68dda73abda1df72f2852eaeda0
treec423cf724b6524e0aac06f01e6114379997eecdd
parentb5027c520f35979f702bf42b4e55640f4168c317
media: staging: atomisp: i2c: 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.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/i2c/atomisp-lm3554.c