powerpc/watchdog: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Thu, 12 Oct 2017 22:47:30 +0000 (15:47 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 2 Nov 2017 22:50:31 +0000 (15:50 -0700)
commit5943cf4a59c831944474803223d5febec58deaad
treec78b7dcc4e46e39b39f834b33908a150d5366fb4
parentd1cadcb7cade0f98eb4c3b1e4c808cc8169da5e3
powerpc/watchdog: 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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Kees Cook <keescook@chromium.org>
arch/powerpc/kernel/watchdog.c