watchdog: cpwd: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Sat, 21 Oct 2017 05:47:37 +0000 (22:47 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 2 Nov 2017 22:50:26 +0000 (15:50 -0700)
commit4fa42b4e5ddca6a58d8fcf24d51e6fe2f8c50253
treeff555238063a91257550b7097ebb0480bb42b52f
parent8da0edf2f90b6c74b69ad420fdd230c9bd2bd1ed
watchdog: cpwd: 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. Switches to using the global that is
used everywhere else.

Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/cpwd.c