OpenCloudOS-Kernel/drivers/net/ethernet/smsc
Vaishali Thakkar b8b01344eb net: smc91c92_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:22 -05:00
..
Kconfig net: smc91x: Add Atari EtherNAT support 2015-01-15 19:32:58 -05:00
Makefile
epic100.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
smc91c92_cs.c net: smc91c92_cs: Use setup_timer and mod_timer 2015-03-01 13:40:22 -05:00
smc91x.c net: smc91x: use run-time configuration on all ARM machines 2015-02-28 12:56:56 -05:00
smc91x.h net: smc91x: use run-time configuration on all ARM machines 2015-02-28 12:56:56 -05:00
smc911x.c net: ethernet: smsc: drop owner assignment from platform_drivers 2014-10-20 16:21:12 +02:00
smc911x.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
smc9194.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-11-13 17:40:34 +09:00
smc9194.h
smsc911x.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
smsc911x.h smsc: replace WARN_ON() with WARN_ON_SMP() 2014-08-11 14:38:29 -07:00
smsc9420.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
smsc9420.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00