From: Vaishali Thakkar Date: Wed, 10 Jun 2015 05:40:05 +0000 (+0530) Subject: atm: idt77105: Use setup_timer X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bae23b6840a6a15947173d8282028458dbcdeb5b;p=pandora-kernel.git atm: idt77105: 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: David S. Miller --- Reading git-diff-tree failed