Amitoj Kaur Chawla 466fc793da atm: horizon: 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.

The Coccinelle semantic patch that fixes this problem is
as follows:
@@
expression t,d,f,e1;
identifier x1;
statement S1;
@@

(
-t.data = d;
|
-t.function = f;
|
-init_timer(&t);
+setup_timer(&t,f,d);
|
-init_timer_on_stack(&t);
+setup_timer_on_stack(&t,f,d);
)
<... when != S1
t.x1 = e1;
...>

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-01 05:58:26 -04:00
..
2015-01-18 00:28:41 -05:00
2011-03-31 11:26:23 -03:00
2015-01-18 00:28:41 -05:00
2016-07-01 05:58:26 -04:00
2015-06-10 22:46:34 -07:00
2011-03-31 11:26:23 -03:00
2016-05-31 11:52:59 -07:00
2013-02-08 14:22:05 -05:00
2015-01-18 00:28:41 -05:00
2015-12-29 15:32:24 -05:00
2012-03-28 18:30:03 +01:00
2011-07-26 16:49:47 -07:00
2015-01-18 00:28:41 -05:00