scsi: qla4xxx: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Sat, 21 Oct 2017 15:39:39 +0000 (08:39 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 1 Nov 2017 18:44:40 +0000 (11:44 -0700)
commitd744644ad7088ec04c0e1ad7c6c1adcec849c51c
treeda985d66c1e97ec66b5b79c6aa08afea951536c1
parent77570eedd92adfcf69fdde31183a56324f82ca5c
scsi: qla4xxx: 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: QLogic-Storage-Upstream@qlogic.com
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>
Acked-by: Manish Rangankar <Manish.Rangankar@cavium.com>
drivers/scsi/qla4xxx/ql4_os.c