diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-16 17:29:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-18 12:39:55 +0100 |
commit | d26c089e78298843b8c5202ffb43146d17c15bde (patch) | |
tree | 3f57dcc2197c103fa39365a38b299621367b0f4d /drivers/net/appletalk | |
parent | 9f12a77e467b8ec0296cf1c3481447e1b1811f59 (diff) |
hdlc: 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. This adds a pointer back to the
net_device, and drops needless open-coded resetting of the .function and
.data fields.
Cc: David S. Miller <davem@davemloft.net>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions