Tag: 2587dc65e1b70617a1a369b26eb824ab1af1b9df

ia64: Use setup_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> 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 …

Continue reading