drivers/net: dlink: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Fri, 27 Oct 2017 05:54:59 +0000 (22:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Oct 2017 10:09:49 +0000 (19:09 +0900)
commit9cb618c295016966b8781a57616b07d8b4d9cb21
treecaad5e4efa228272af6ca6fb116aefd1fd6dfebe
parent0e23daeb640773adf5528e5e08e7cb81fc12775d
drivers/net: dlink: 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: Denis Kirjanov <kda@linux-powerpc.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Denis Kirjanov <kda@linux-powerpc.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dlink/sundance.c