WSL2-Linux-Kernel/drivers/net/wireless/iwlegacy
Julia Lawall 1a94ace406 iwl3945: 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.data = d;
-t.function = f;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-01-07 10:45:08 +02:00
..
3945-debug.c drivers: net: Mark functions as static in 3945-debug.c 2013-12-18 15:23:12 -05:00
3945-mac.c iwl3945: Use setup_timer 2015-01-07 10:45:08 +02:00
3945-rs.c mac80211: remove module handling from rate control ops 2014-02-04 21:48:26 +01:00
3945.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
3945.h iwlegacy: Remove extern from function prototypes 2013-09-24 18:05:24 -07:00
4965-calib.c iwlegacy: remove enum iw_calib and related code 2012-02-29 14:14:55 -05:00
4965-debug.c drivers: net: Mark functions as static in 4965-debug.c 2013-12-18 15:23:14 -05:00
4965-mac.c iwl4965: Use setup_timer 2015-01-07 10:45:07 +02:00
4965-rs.c mac80211: remove module handling from rate control ops 2014-02-04 21:48:26 +01:00
4965.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
4965.h mac80211: allow channel switch with multiple channel contexts 2014-10-09 11:30:09 +02:00
Kconfig iwlegacy: Kconfig: Change Debug Option to be more clear 2012-02-29 14:14:55 -05:00
Makefile iwlegacy: rename iwl-debug.c to debug.c 2011-11-15 14:24:36 +01:00
commands.h iwlegacy: properly enable power saving 2014-02-24 15:21:55 -05:00
common.c iwlegacy: use correct structure type name in sizeof 2014-07-31 13:41:44 -04:00
common.h mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
csr.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
debug.c drivers: net: Mark functions as static in debug.c 2013-12-18 15:23:16 -05:00
iwl-spectrum.h
prph.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00