drivers/net: smsc: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Fri, 27 Oct 2017 05:55:42 +0000 (22:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Oct 2017 10:09:50 +0000 (19:09 +0900)
commit267146d44718771aa0b375e78b33c81d137db09d
tree1f0597cf19292d26f35899940ac456620a7886de
parent8089c6f4777f394407d63e217314f934b85a7947
drivers/net: smsc: 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: "David S. Miller" <davem@davemloft.net>
Cc: "yuval.shaia@oracle.com" <yuval.shaia@oracle.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Philippe Reynes <tremyfr@gmail.com>
Cc: Allen Pais <allen.lkml@gmail.com>
Cc: Tobias Klauser <tklauser@distanz.ch>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/epic100.c
drivers/net/ethernet/smsc/smc91c92_cs.c