staging/irda/net: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Wed, 18 Oct 2017 20:24:13 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 12:42:49 +0000 (14:42 +0200)
commita83f4340dc900a875c9ed0cb58bfa2d930a8eb66
treee097565367f45ef00ef690b6e698f22d1352ef01
parent4bdd439fe2a7ce14f2b86bf138b24e2fa3615507
staging/irda/net: 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 Ortiz <samuel@sortiz.org>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 files changed:
drivers/staging/irda/include/net/irda/irlmp_event.h
drivers/staging/irda/include/net/irda/timer.h
drivers/staging/irda/net/af_irda.c
drivers/staging/irda/net/ircomm/ircomm_tty.c
drivers/staging/irda/net/ircomm/ircomm_tty_attach.c
drivers/staging/irda/net/irda_device.c
drivers/staging/irda/net/iriap.c
drivers/staging/irda/net/irlan/irlan_client.c
drivers/staging/irda/net/irlan/irlan_common.c
drivers/staging/irda/net/irlap.c
drivers/staging/irda/net/irlap_event.c
drivers/staging/irda/net/irlmp.c
drivers/staging/irda/net/irlmp_event.c
drivers/staging/irda/net/irttp.c
drivers/staging/irda/net/timer.c