From: Vaishali Thakkar Date: Thu, 11 Jun 2015 05:27:35 +0000 (+0530) Subject: ARM: pxa: Use setup_timer X-Git-Tag: omap-for-v4.3/fixes-merge-window~8^2~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d6db340a7e832dc18a6a95d9f9fc79d03ff959e;p=pandora-kernel.git ARM: pxa: 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 e1, e2, a; @@ -init_timer(&e1); +setup_timer(&e1, a, 0UL); ... when != a = e2 -e1.function = a; Signed-off-by: Vaishali Thakkar Signed-off-by: Robert Jarzmik --- Reading git-diff-tree failed