summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-16 16:39:33 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-17 12:14:44 +0200
commit29bce57723351f63d593959be8fb9c97d7bc3a45 (patch)
tree6bf3e7992bd523c904235cdcc2eff86379739fc9 /drivers/usb/phy
parent66a4550308b8391fecd46c7e733cbccb3e01ee96 (diff)
downloadlinux-29bce57723351f63d593959be8fb9c97d7bc3a45.tar.gz
linux-29bce57723351f63d593959be8fb9c97d7bc3a45.tar.bz2
linux-29bce57723351f63d593959be8fb9c97d7bc3a45.zip
usb/gadget/snps_udc_core: 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. If the probe fails, udc_remove() will not be called, so there is no reason to make del_timer_sync() calls conditional. As a result, use of the .data field can be dropped, in support of making removing this field entirely from struct timer_list. Cc: Felipe Balbi <balbi@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Raviteja Garimella <raviteja.garimella@broadcom.com> Cc: Michal Nazarewicz <mina86@mina86.com> Cc: "Gustavo A. R. Silva" <garsilva@embeddedor.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy')
0 files changed, 0 insertions, 0 deletions