path: root/drivers/media/pci
diff options
authorJulia Lawall <Julia.Lawall@lip6.fr>2014-12-26 11:35:50 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-27 10:08:22 -0200
commit03f23fc51dc943fbda437abf04df5d6a8498addc (patch)
tree02c8557b169ce26ddc57588e78bde68367ec8e8c /drivers/media/pci
parentf57cffb93457e968edac3afcae26f5c7670ed985 (diff)
[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/media/pci')
0 files changed, 0 insertions, 0 deletions

Privacy Policy