alistair23-linux/drivers/staging/most/hdm-usb
Muhammad Falak R Wani bff1d83d78 staging: most: hdm-usb: Use setup_timer
Use the timer API function setup_timer instead of init_timer, removing
the structure field assignments.

<smpl>

@timer@
expression e1,e2,e3,fn_ptr;
@@
-init_timer(&e1);
+setup_timer(&e1, fn_ptr, e2);
... when != fn_ptr = e3
-e1.function = fn_ptr;
-e1.data = e2;

</smpl>

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-24 19:09:03 -07:00
..
hdm_usb.c staging: most: hdm-usb: Use setup_timer 2015-10-24 19:09:03 -07:00
Kconfig
Makefile