diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-12-26 11:35:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-27 10:08:22 -0200 |
commit | 03f23fc51dc943fbda437abf04df5d6a8498addc (patch) | |
tree | 02c8557b169ce26ddc57588e78bde68367ec8e8c /drivers/acpi | |
parent | f57cffb93457e968edac3afcae26f5c7670ed985 (diff) | |
download | op-kernel-dev-03f23fc51dc943fbda437abf04df5d6a8498addc.zip op-kernel-dev-03f23fc51dc943fbda437abf04df5d6a8498addc.tar.gz |
[media] pvrusb2: 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 <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions