linux/drivers/staging/rdma
Muhammad Falak R Wani 6149e2e444 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>
2015-10-26 04:09:16 +09:00
..
amso1100 staging: rdma: Replace kmalloc with kmalloc_array 2015-10-24 19:00:15 -07:00
ehca IB/ehca: fix handling idr_alloc result 2015-10-04 19:50:05 +01:00
hfi1 staging: IB/hfi1: use TASK_COMM_LEN in hfi1_ctxtdata 2015-10-17 22:05:17 -07:00
ipath staging: ipath: ipath_driver: Use setup_timer 2015-10-26 04:09:16 +09:00
Kconfig staging/rdma: Kconfig change STAGING_RDMA to be tristate. 2015-09-29 03:42:27 +02:00
Makefile IB/ehca: Deprecate driver, move to staging, schedule deletion 2015-09-11 18:13:35 -04:00