summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2015-10-24 07:45:44 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-24 19:09:03 -0700
commitbff1d83d78db66d3307f856344fd2202b8b77ce3 (patch)
tree5c6a0380656f50ce17d5af90b9e80a2edf32be66 /tools/perf/scripts/python
parentf96d48aaa915178995b4bf246793168376fd0576 (diff)
staging: most: hdm-usb: 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