[PATCH] pcmcia: Use setup_timer

2015-02-11 Thread Vaishali Thakkar
This patch introduces the use of function setup_timer. This is done using Coccinelle and semantic patch used is as follows: @@ expression x,y,z; @@ - init_timer (); + setup_timer (, y, z); - x.function = y; - x.data = z; Signed-off-by: Vaishali Thakkar --- drivers/pcmcia/omap_cf.c| 4

[PATCH] pcmcia: Use setup_timer and mod_timer

2015-02-11 Thread Vaishali Thakkar
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: // @@ expression x,y,z,a,b; @@ -init_timer (); +setup_timer (, y, z); +mod_timer (, b); -x.function = y; -x.data = z; -x.expires = b; -add_timer();

[PATCH] pcmcia: Use setup_timer and mod_timer

2015-02-11 Thread Vaishali Thakkar
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;

[PATCH] pcmcia: Use setup_timer

2015-02-11 Thread Vaishali Thakkar
This patch introduces the use of function setup_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 vthakkar1...@gmail.com ---