lightnvm: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Wed, 18 Oct 2017 04:10:19 +0000 (21:10 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 21 Nov 2017 23:46:44 +0000 (15:46 -0800)
commit87c1d2d373c2dfc9993f09c3cfd69cf2c3347b20
tree833d43300400de30c1eb041d3faf3e19e5fd9415
parentbd1a7b44768a6a926a95e80c98b6be5f461f76e0
lightnvm: 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: Matias Bjorling <mb@lightnvm.io>
Cc: linux-block@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-gc.c
drivers/lightnvm/pblk-init.c
drivers/lightnvm/pblk-rl.c
drivers/lightnvm/pblk.h
drivers/lightnvm/rrpc.c