]> git.baikalelectronics.ru Git - kernel.git/commit
net/ti/tlan: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 17 Oct 2017 00:28:50 +0000 (17:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2017 11:39:36 +0000 (12:39 +0100)
commitcaf8643829696eeeca4d730c3c60ada6e195b6d5
tree183c67035e9a15ee7deb9a579a66b0727bc2b777
parent57421c367b66d5183bc8468dae9ce7e2fc4bd9af
net/ti/tlan: 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: Samuel Chessman <chessman@tux.org>
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/ti/tlan.c