commit | 74fef19f66c304cf73c1d399c9865e5dce84aecd | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Oct 24 03:08:03 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 01 16:57:23 2017 +0100 |
tree | 863f1de5a09efcc7edeba693a16e8694efb52133 | |
parent | 8e4e276a3857461b2bb5dd596768fcbe2a469d5a [diff] |
usb: gadget: zero: 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. Adds a static tracking variable to match the timer global. Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>