summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2015-10-25 13:17:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-25 22:09:16 +0300
commitd6a0692befc1b85dc2e5408e90e51452a6533f47 (patch)
tree9675d478703910f78f34c78e6f711d25ab9e69a5 /include/uapi/linux
parent7cc918a8565e2a7f6df78cb46777091a862fee54 (diff)
downloadlinux-d6a0692befc1b85dc2e5408e90e51452a6533f47.tar.xz
staging: ipath: ipath_init_chip: Use setup_timer
Use of the timer API function setup_timer instead of init_timer, removing the structure field assignments, and make the codeflow more readable. The simplified sematic patch used is :- <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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions