platform/x86: intel_ips: Convert timers to use timer_setup()
commitfbc15e30400c9d927eda37445c78a7811a68e4a7
authorKees Cook <keescook@chromium.org>
Thu, 5 Oct 2017 00:54:21 +0000 (4 17:54 -0700)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 5 Nov 2017 11:53:14 +0000 (5 13:53 +0200)
treeaf6579ded2ec9eee78bfdf595c00b5e510f30bb5
parente4a18052bb99e25d2c0074981120b76638285c22
platform/x86: intel_ips: 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. Moves timer structure off stack and
into struct ips_driver.

Cc: Darren Hart <dvhart@infradead.org>
Cc: Andy Shevchenko <andy@infradead.org>
Cc: platform-driver-x86@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_ips.c