]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff4c6c4dacfc46f6c6252787a354e3bc1408c547
treeff555238063a91257550b7097ebb0480bb42b52f
parent465934a3d9faaa8fe489d58835c1b1cebbc9814f
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