From: Vaishali Thakkar Date: Wed, 11 Feb 2015 10:29:50 +0000 (+0530) Subject: drivers/net: Use setup_timer and mod_timer X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~52^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d6c4cca41840c82e6967a48137f622547244630;p=pandora-kernel.git 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: // @@ 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed