summaryrefslogtreecommitdiff
path: root/include/linux/tracehook.h
diff options
context:
space:
mode:
authorVaishali Thakkar <vthakkar1994@gmail.com>2015-06-10 08:40:05 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-11 08:46:34 +0300
commitbae23b6840a6a15947173d8282028458dbcdeb5b (patch)
treee017f84e045645478f9a1285c0546c5bff4be52a /include/linux/tracehook.h
parentf21fb3ed364bb83533c5efe19354e337ea9ecda9 (diff)
downloadlinux-bae23b6840a6a15947173d8282028458dbcdeb5b.tar.xz
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 <vthakkar1994@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tracehook.h')
0 files changed, 0 insertions, 0 deletions