OpenCloudOS-Kernel/drivers/net/ethernet/micrel
Julia Lawall fea3cb063b ksz884x: Use setup_timer
Convert a call to init_timer and accompanying intializations of
the timer's data and function fields to a call to setup_timer.

A simplified version of the semantic match that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression t,f,d;
@@

-init_timer(&t);
+setup_timer(&t,f,d);
-t.function = f;
-t.data = d;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-12-30 18:34:23 -05:00
..
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile
ks8695net.c net: ethernet: micrel: drop owner assignment from platform_drivers 2014-10-20 16:21:09 +02:00
ks8695net.h
ks8842.c net: ethernet: micrel: drop owner assignment from platform_drivers 2014-10-20 16:21:09 +02:00
ks8851.c net: ks8851: Don't use regulator_get_optional() 2014-06-02 00:13:51 -07:00
ks8851.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ks8851_mll.c net: ethernet: micrel: drop owner assignment from platform_drivers 2014-10-20 16:21:09 +02:00
ksz884x.c ksz884x: Use setup_timer 2014-12-30 18:34:23 -05:00