linux/drivers/net/ethernet/8390
Vaishali Thakkar 6753a971be net: 8390: axnet_cs: Use setup_timer and mod_timer
Use timer API functions setup_timer and mod_timer instead
of structure assignments as they are standard way to set
the timer and to update the expire field of an active timer
respectively.

This is done using Coccinelle and semantic patch used for
this is 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-03-01 13:40:23 -05:00
..
8390.c
8390.h
8390p.c
apne.c
ax88796.c net: ethernet: 8390: drop owner assignment from platform_drivers 2014-10-20 16:21:02 +02:00
axnet_cs.c net: 8390: axnet_cs: Use setup_timer and mod_timer 2015-03-01 13:40:23 -05:00
etherh.c
hydra.c
Kconfig m68k/atari: EtherNEC - ethernet support (ne) 2014-08-11 12:36:05 -07:00
lib8390.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
mac8390.c 8390: remove unnecessary break after return 2014-07-20 21:30:18 -07:00
Makefile
mcf8390.c net: ethernet: 8390: drop owner assignment from platform_drivers 2014-10-20 16:21:02 +02:00
ne2k-pci.c ne2k-pci: Add pci_disable_device in error handling 2014-12-27 02:20:55 -05:00
ne.c net: ethernet: 8390: drop owner assignment from platform_drivers 2014-10-20 16:21:02 +02:00
pcnet_cs.c net: 8390: pcnet_cs: Use setup_timer and mod_timer 2015-03-01 13:40:22 -05:00
smc-ultra.c
stnic.c
wd.c
zorro8390.c