usb: usbatm: Convert timers to use timer_setup()
authorKees Cook <[email protected]>
Sat, 21 Oct 2017 07:12:34 +0000 (00:12 -0700)
committerKees Cook <[email protected]>
Tue, 21 Nov 2017 23:46:44 +0000 (15:46 -0800)
commit72a9f9a445d4e296484aa5dfbfea6254d01f7cf5
tree664dc548e6684555b1a9d141bdff1eab328dbe6b
parentff07a23fec3f9ea28d22852097260b38903891c4
usb: usbatm: 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. Additionally corrects and on-stack
timer usage.

Cc: Greg Kroah-Hartman <[email protected]>
Cc: Duncan Sands <[email protected]>
Cc: "Gustavo A. R. Silva" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Allen Pais <[email protected]>
drivers/usb/atm/cxacru.c
drivers/usb/atm/speedtch.c
drivers/usb/atm/usbatm.c