commit | bff1d83d78db66d3307f856344fd2202b8b77ce3 | [log] [tgz] |
---|---|---|
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | Sat Oct 24 07:45:44 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 24 19:09:03 2015 -0700 |
tree | 5c6a0380656f50ce17d5af90b9e80a2edf32be66 | |
parent | f96d48aaa915178995b4bf246793168376fd0576 [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>