hwrng/xgene-rng: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Wed, 11 Oct 2017 22:55:48 +0000 (15:55 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 2 Nov 2017 22:50:48 +0000 (15:50 -0700)
commit200d24d63303cc2131c9da571f4ef72887e3aa82
tree435ce04394b5fb620b2bcaceb0b030857c261d35
parent607a6301074fecfb855f08ecdd65b18d089e4143
hwrng/xgene-rng: 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: Matt Mackall <mpm@selenic.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/char/hw_random/xgene-rng.c