]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit888c54d4cc019262249ad05d8243029b61414b46
tree5b3ac632d30ae26abe5064841a8dd35fd56859e9
parent0176f07b599b4769a962c55e82c5a9c9b78c2a43
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