aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/buffer.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2015-01-09 14:06:30 +0000
committerGreg Kroah-Hartman <[email protected]>2015-01-09 18:05:47 +0000
commit9e08a03dc12a41ce695559f8c6d999aaf245b8be (patch)
treec67da13c1c531cd2d15419cad277a8b4acaa9d11 /drivers/usb/core/buffer.c
parentxhci: Use setup_timer (diff)
downloadkernel-9e08a03dc12a41ce695559f8c6d999aaf245b8be.tar.gz
kernel-9e08a03dc12a41ce695559f8c6d999aaf245b8be.zip
xhci-mem: Use setup_timer
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(&t,f,d); -t.data = d; -t.function = f; // </smpl> Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions