summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2015-10-25 16:13:24 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 17:06:50 +0900
commita3faf606973159ed33b8d1c17ea1678431902727 (patch)
tree051819cec41886d61e2e89631dc36bba648a2e45 /tools/perf/scripts/python
parentaf28398d316327ca2eff839ee1d8fa832a71bfb4 (diff)
staging: hfi1: driver: Use setup_timer
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. <smpl> @timer@ expression e1,e2,e3,fn_ptr; @@ -init_timer(&e1); +setup_timer(&e1, fn_ptr, e2); ... when != fn_ptr = e3 -e1.function = fn_ptr; -e1.data = e2; </smpl> Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions