]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_ips: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Thu, 5 Oct 2017 00:54:21 +0000 (17:54 -0700)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 5 Nov 2017 11:53:14 +0000 (13:53 +0200)
commitf9117eea478f313ff0583cff3597c8e1912375ea
treeaf6579ded2ec9eee78bfdf595c00b5e510f30bb5
parentdd462b990a707c4328f32b87c1cff978813ff8cd
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