commit | 2587dc65e1b70617a1a369b26eb824ab1af1b9df | [log] [tgz] |
---|---|---|
author | Vaishali Thakkar <vthakkar1994@gmail.com> | Thu Jun 11 10:18:17 2015 +0530 |
committer | Tony Luck <tony.luck@intel.com> | Mon Jun 15 15:45:18 2015 -0700 |
tree | 0030d9f7f287ab3fa5239f97e040f7f618fe7f46 | |
parent | 511beeb5880eb1cf71ede7ce0f5ab4b34c1dd986 [diff] |
ia64: 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: Tony Luck <tony.luck@intel.com>