diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-02-11 10:45:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-16 20:31:43 (GMT) |
commit | 03b225b16d75bccf9bc4d82607964a08148adf61 (patch) | |
tree | fbe79c549de0e69f02b8528df69067a8bfd7a8e6 /scripts/checkkconfigsymbols.py | |
parent | dae6cdabe45baecfcfd02fbf11d97bb645450fc6 (diff) | |
download | linux-03b225b16d75bccf9bc4d82607964a08148adf61.tar.xz |
pcmcia: Use setup_timer and mod_timer
This patch introduces the use of functions setup_timer
and mod_timer.
This is done using Coccinelle and semantic patch used
for this as follows:
// <smpl>
@@
expression x,y,z,a,b;
@@
-init_timer (&x);
+setup_timer (&x, y, z);
+mod_timer (&a, b);
-x.function = y;
-x.data = z;
-x.expires = b;
-add_timer(&a);
// </smpl>
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/checkkconfigsymbols.py')
0 files changed, 0 insertions, 0 deletions