git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9754c8e
)
ARM: pxa: Use setup_timer
author
Vaishali Thakkar
<vthakkar1994@gmail.com>
Thu, 11 Jun 2015 05:27:35 +0000
(10:57 +0530)
committer
Robert Jarzmik
<robert.jarzmik@free.fr>
Sat, 18 Jul 2015 10:16:43 +0000
(12:16 +0200)
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: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/sharpsl_pm.c
patch
|
blob
|
history
diff --cc
arch/arm/mach-pxa/sharpsl_pm.c
Simple merge