scsi: gdth: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Thu, 12 Oct 2017 00:17:42 +0000 (17:17 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 27 Oct 2017 09:22:00 +0000 (02:22 -0700)
commit7932589f47d5d5eaa9948bd479b42819b6b10509
tree7f4e8cffbe1c1da8d1a54be464f744a52776d1fa
parent13059106242bc96f8f5ab79c0f6cb15c7b756f40
scsi: gdth: 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.

Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/gdth.c