]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/firmware: psci: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 23 Oct 2017 00:51:09 +0000 (17:51 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 21 Nov 2017 23:46:44 +0000 (15:46 -0800)
commitff07a23fec3f9ea28d22852097260b38903891c4
tree33b6dfac09a3e8b1eebfd0cdf9f57b1cda51024d
parent0c86a6bd85ff0629cd2c5141027fc1c8bb6cde9c
drivers/firmware: psci: 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. Also adds missing call to
destroy_timer_on_stack().

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/firmware/psci_checker.c