commit | db275f2a02cd35d7a53564100ccf18ccb8a1130d | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Mon Oct 09 21:26:26 2017 -0700 |
committer | Kees Cook <keescook@chromium.org> | Thu Nov 02 15:50:36 2017 -0700 |
tree | d00dbbd8a30f94d25cac23619fa7d3bd73194003 | |
parent | a66b899dfbb51201e6ee176d77f27885dc362fc6 [diff] |
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>