]> git.baikalelectronics.ru Git - kernel.git/commit
usb: usbatm: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Sat, 21 Oct 2017 07:12:34 +0000 (00:12 -0700)
committerKees Cook <keescook@chromium.org>
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 <gregkh@linuxfoundation.org>
Cc: Duncan Sands <duncan.sands@free.fr>
Cc: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
Cc: accessrunner-general@lists.sourceforge.net
Cc: linux-usb@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Allen Pais <allen.lkml@gmail.com>
drivers/usb/atm/cxacru.c
drivers/usb/atm/speedtch.c
drivers/usb/atm/usbatm.c