Tag: 03b225b16d75bccf9bc4d82607964a08148adf61

pcmcia: Use setup_timer and mod_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> 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 (&x); +setup_timer (&x, y, z); +mod_timer (&a, b); -x.function = y; -x.data = z; -x.expires = b; -add_timer(&a); // Signed-off-by: Vaishali Thakkar …

Continue reading