summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2015-10-25 13:17:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-25 22:09:16 +0300
commit6149e2e4447c86eaf3c1870694dfe4b2bcd8ec0d (patch)
treebf2c07f1862a309392c2eda0ac8eb4d4e3564569 /include/uapi
parent575ff198f5a3981e8d9fb54e61876f9082ca3bd7 (diff)
downloadlinux-6149e2e4447c86eaf3c1870694dfe4b2bcd8ec0d.tar.xz
staging: ipath: ipath_driver: Use setup_timer
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. The simplified semantic 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')
0 files changed, 0 insertions, 0 deletions