ahci: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 21:56:58 +0000 (14:56 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 19 Oct 2017 21:15:16 +0000 (23:15 +0200)
commit1843594c56bd79598a7ca4e6f7b6173e7d71b941
tree5b3ac632d30ae26abe5064841a8dd35fd56859e9
parent3a29ddb1c5986a6d3f941bfb1f434105203ce7f6
ahci: 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 pointer back to link
structure.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: linux-ide@vger.kernel.org
Link: https://lkml.kernel.org/r/20171016215658.GA101965@beast
drivers/ata/ahci.h
drivers/ata/libahci.c