2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/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 net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
8390.h 8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature 2013-12-11 17:21:02 -05:00
8390p.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
apne.c net/apne: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO 2014-04-12 01:59:38 -04:00
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 net: eth: 8390: remove section warning in etherh.c 2013-12-12 14:02:20 -05:00
hydra.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00
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 net/ethernet: Drop H8/300 Ethernet driver 2013-09-16 18:20:24 -07:00
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 8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature 2013-12-11 17:21:02 -05:00
stnic.c 8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature 2013-12-11 17:21:02 -05:00
wd.c 8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature 2013-12-11 17:21:02 -05:00
zorro8390.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00