scsi: cxgbi: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 28 Aug 2017 17:13:50 +0000 (10:13 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 1 Nov 2017 18:27:05 +0000 (11:27 -0700)
commitcd07f958e88250e39c3e8b0a93ac17165d483fd3
tree3230790cb4f17a6927746e715414a60d0f4cfbd2
parentfa60a31b0cf07794d643924328cd7e3a78e99aca
scsi: cxgbi: 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: Karen Xie <kxie@chelsio.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>
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/scsi/cxgbi/libcxgbi.c