linux_dsm_epyc7002/drivers/net/ethernet/3com
Vaishali Thakkar 1d6c4cca41 drivers/net: Use setup_timer and mod_timer
This patch introduces the use of functions setup_timer
and mod_timer.

This is done using Coccinelle and semantic patch used
for this as follows:

// <smpl>
@@
expression x,y,z,a,b;
@@

-init_timer (&x);
+setup_timer (&x, y, z);
+mod_timer (&a, b);
-x.function = y;
-x.data = z;
-x.expires = b;
-add_timer(&a);

// </smpl>

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-11 19:40:12 -08:00
..
3c59x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-10-08 16:22:22 -04:00
3c509.c
3c515.c
3c574_cs.c
3c589_cs.c drivers/net: Use setup_timer and mod_timer 2015-02-11 19:40:12 -08:00
Kconfig
Makefile
typhoon.c net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
typhoon.h