timer: Pass function down to initialization routines
authorKees Cook <keescook@chromium.org>
Mon, 23 Oct 2017 01:14:46 +0000 (18:14 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 21 Nov 2017 23:57:14 +0000 (15:57 -0800)
commit188665b2d67db8953899551d1a9d4481b2a0ac60
treea2358bf68d3d4f8c7b775966a4e94cea7b7dc81c
parent1fe66ba572b455270dc35a2c099dd7328cec9e4c
timer: Pass function down to initialization routines

In preparation for removing more macros, pass the function down to the
initialization routines instead of doing it in macros.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/timer.h
kernel/time/timer.c