diff options
author | 2015-02-11 15:59:50 +0530 | |
---|---|---|
committer | 2015-02-11 19:40:12 -0800 | |
commit | 1d6c4cca41840c82e6967a48137f622547244630 (patch) | |
tree | d7c77722a04765ff73d7087e9de259bc7384cbea /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drivers: net: xgene: Make xgene_enet_of_match depend on CONFIG_OF (diff) | |
download | linux-dev-1d6c4cca41840c82e6967a48137f622547244630.tar.xz linux-dev-1d6c4cca41840c82e6967a48137f622547244630.zip |
drivers/net: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions