OSDN Git Service

USB: serial: garmin_gps: convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 10 Oct 2017 18:25:22 +0000 (11:25 -0700)
committerJohan Hovold <johan@kernel.org>
Wed, 11 Oct 2017 07:21:46 +0000 (09:21 +0200)
commit29d15361385f0792bd9e8abb10604ebc4b96cf5b
tree3fb9dfda82de29ff7144df87ed7a3344d15d4e31
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f
USB: serial: garmin_gps: 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: Johan Hovold <johan@kernel.org>
Cc: Allen Pais <allen.lkml@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/garmin_gps.c