linux/drivers/media/usb/s2255
Julia Lawall 8bf554cafd [media] s2255drv: 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.function = f;
-t.data = d;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-01-27 10:04:18 -02:00
..
Kconfig [media] Sensoray 2255 uses videobuf2 2014-03-24 17:23:43 -03:00
Makefile [media] move the remaining USB drivers to drivers/media/usb 2012-08-15 16:34:46 -03:00
s2255drv.c [media] s2255drv: Use setup_timer 2015-01-27 10:04:18 -02:00