Skip to content
  • Kees Cook's avatar
    usb: usbatm: Convert timers to use timer_setup() · 72a9f9a4
    Kees Cook authored
    
    
    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: default avatarKees Cook <keescook@chromium.org>
    Reviewed-by: default avatarAllen Pais <allen.lkml@gmail.com>
    72a9f9a4