]> git.baikalelectronics.ru Git - kernel.git/commit
libata: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 21:56:42 +0000 (14:56 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 17 Oct 2017 15:37:37 +0000 (17:37 +0200)
commitb93ab338f7f0e39321b282d694a52736fdab172b
tree9ef3a004fb637a108f1497cad0966ce561184d14
parent3c557df67257c114401f18ee412f0b74091c3c6f
libata: 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.

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/20171005004842.GA23011@beast
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/libata.h