commit | 08e28893b3886e7f2a2b77adcbdb2bfa91301d3a | [log] [tgz] |
---|---|---|
author | Vaishali Thakkar <vthakkar1994@gmail.com> | Wed Feb 18 22:22:29 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 26 12:23:59 2015 -0800 |
tree | ec348c27d8377e8d943ccb0cd55fe7fae82f7922 | |
parent | 96748c9635d736cceb1ba0ad4fd66857f1d5aef5 [diff] |
Staging: media: lirc: Use setup_timer This patch introduces the use of function setup_timer instead of structure assignments as it is the preferred way to setup and set the timer. This is done using Coccinelle and semantic patch used is as follows: @@ expression x,y,z; @@ - init_timer (&x); + setup_timer (&x, y, z); - x.function = y; - x.data = z; Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>