mips: ip22/32: Convert timers to use timer_setup()
authorKees Cook <[email protected]>
Tue, 10 Oct 2017 04:42:26 +0000 (21:42 -0700)
committerKees Cook <[email protected]>
Thu, 2 Nov 2017 22:50:36 +0000 (15:50 -0700)
commita66b899dfbb51201e6ee176d77f27885dc362fc6
treeacb3333ccf280c8618b5f38cbf950e33582cd18b
parent96d130824f6f965418c2c36061842c354ab60178
mips: ip22/32: 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. Adds a static variable to hold timeout
value.

Cc: Ralf Baechle <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
arch/mips/sgi-ip22/ip22-reset.c
arch/mips/sgi-ip32/ip32-reset.c