linux/drivers/net/wireless/ath9k
Julia Lawall 87c1687d1a drivers/net/wireless/ath9k/rc.c: use ARRAY_SIZE
ARRAY_SIZE is more concise to use when the size of an array is divided by
the size of its type or the size of its first element.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@i@
@@

#include <linux/kernel.h>

@depends on i using "paren.iso"@
type T;
T[] E;
@@

- (sizeof(E)/sizeof(E[...]))
+ ARRAY_SIZE(E)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-11-21 11:08:16 -05:00
..
ani.c ath9k: Refactor hw.c 2008-11-10 15:16:05 -05:00
ath9k.h ath9k: Refactor hw.c 2008-11-10 15:16:05 -05:00
beacon.c ath9k: Revamp VAP management 2008-11-10 15:14:57 -05:00
calib.c ath9k: Refactor hw.c 2008-11-10 15:16:05 -05:00
core.c ath9k: Remove internal RX A-MPDU processing 2008-11-10 15:17:32 -05:00
core.h mac80211: Add a new event in ieee80211_ampdu_mlme_action 2008-11-10 15:17:32 -05:00
eeprom.c ath9k: Refactor hw.c 2008-11-10 15:16:05 -05:00
hw.c ath9k : Display MAC/BB and RF version at startup (v2) 2008-11-21 11:06:06 -05:00
hw.h ath9k: Refactor hw.c 2008-11-10 15:16:05 -05:00
initvals.h ath9k: Add new Atheros IEEE 802.11n driver 2008-08-07 09:49:42 -04:00
Kconfig ath9k: uses/needs led_classdev_[un]register 2008-09-05 16:17:49 -04:00
mac.c ath9k: Refactor hw.c 2008-11-10 15:16:05 -05:00
main.c ath9k : Display MAC/BB and RF version at startup (v2) 2008-11-21 11:06:06 -05:00
Makefile ath9k: Refactor hw.c 2008-11-10 15:16:05 -05:00
phy.c ath9k: Refactor hw.c 2008-11-10 15:16:05 -05:00
phy.h ath9k: Add IEEE80211_HW_RX_INCLUDES_FCS to hw flags 2008-08-29 16:24:05 -04:00
rc.c drivers/net/wireless/ath9k/rc.c: use ARRAY_SIZE 2008-11-21 11:08:16 -05:00
rc.h 802.11: clean up/fix HT support 2008-10-31 19:00:06 -04:00
recv.c ath9k: enable RXing of beacons on STA/IBSS 2008-11-21 11:06:06 -05:00
reg.h ath9k: Add LED support 2008-08-29 16:24:09 -04:00
regd.c ath9k: Revamp wireless mode usage 2008-08-07 09:49:44 -04:00
regd.h ath9k: Revamp wireless mode usage 2008-08-07 09:49:44 -04:00
regd_common.h ath9k: Revamp wireless mode usage 2008-08-07 09:49:44 -04:00
xmit.c ath9k: correct warning about unintialized variable 'tid' 2008-11-10 15:17:35 -05:00