From: Vaishali Thakkar Date: Mon, 1 Jun 2015 04:58:37 +0000 (+0530) Subject: xen-netfront: Use setup_timer X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=493be55ac3d81f9c32832237288eb397a9993d5d;p=pandora-kernel.git xen-netfront: Use setup_timer Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e, func, da; @@ -init_timer (&e); +setup_timer (&e, func, da); -e.data = da; -e.function = func; Signed-off-by: Vaishali Thakkar Signed-off-by: David S. Miller --- Reading git-diff-tree failed