OpenCloudOS-Kernel/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 drivers/net: Convert remaining uses of pr_warning to pr_warn 2014-09-09 20:37:08 -07:00
3c515.c drivers/net: Convert remaining uses of pr_warning to pr_warn 2014-09-09 20:37:08 -07:00
3c574_cs.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
3c589_cs.c drivers/net: Use setup_timer and mod_timer 2015-02-11 19:40:12 -08:00
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
Makefile drivers/net: delete old 8bit ISA 3c501 driver. 2013-01-22 10:39:49 -05:00
typhoon.c net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
typhoon.h