]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
sparc/led: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 10 Oct 2017 22:07:27 +0000 (15:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Nov 2017 05:27:50 +0000 (14:27 +0900)
commit68fa10dce0bfe263000ea3fd147ed74f5a4342c2
tree5fd5a005805e6384486973dddf4ffb31e8c325f2
parenta16036e9b2fbdadf44f9fbbdf95d173d3f78170b
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/led.c