1
0
Fork 0
alistair23-linux/drivers/staging/rtl8723au
Bhaktipriya Shridhar bfb7ff2c0b staging: rtl8723au: hal: Use macro ARRAY_SIZE
The macro ARRAY_SIZE is more concise to use instead of dividing
size of the array by the size of its type.

Changes were made using Coccinelle.

@@
type T;
T[] E;
@@

- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 15:04:11 -08:00
..
core staging: rtl8723au: whitespace and blank line cleaning 2016-02-20 15:04:11 -08:00
hal staging: rtl8723au: hal: Use macro ARRAY_SIZE 2016-02-20 15:04:11 -08:00
include Staging: rtl8723au: Replace header files 2016-02-14 16:49:09 -08:00
os_dep staging: rtl8723au: whitespace and blank line cleaning 2016-02-20 15:04:11 -08:00
Kconfig staging: rtl8723au: Remove P2P/WiFiDirect/WiFiDisplay code 2014-04-15 11:03:56 -07:00
Makefile staging: rtl8723au: Fold rtw_ack_tx_done23a() into rtw23a_sctx_done_err() 2014-12-02 16:40:00 -08:00
TODO staging: rtl8*: fix my email address up 2016-02-11 19:33:46 -08:00