]> git.baikalelectronics.ru Git - kernel.git/commit
sparc/led: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 10 Oct 2017 04:26:26 +0000 (21:26 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 2 Nov 2017 22:50:36 +0000 (15:50 -0700)
commitfaccc0a1fedb17c8b8117533d7f5b8a330fefb4d
treed00dbbd8a30f94d25cac23619fa7d3bd73194003
parentca0896de7e276b8c11b7415cf000ccbd99d416ba
sparc/led: 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: "David S. Miller" <davem@davemloft.net>
Cc: Geliang Tang <geliangtang@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
arch/sparc/kernel/led.c