watchdog: lpc18xx_wdt: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 12 Sep 2017 23:14:07 +0000 (16:14 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 2 Nov 2017 22:50:30 +0000 (15:50 -0700)
commitd1cadcb7cade0f98eb4c3b1e4c808cc8169da5e3
treeb0db24747a00f7ee2642996600ca3ce77445766d
parent4fa42b4e5ddca6a58d8fcf24d51e6fe2f8c50253
watchdog: lpc18xx_wdt: 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: Wim Van Sebroeck <wim@iguana.be>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Joachim Eastwood <manabian@gmail.com>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/lpc18xx_wdt.c