linux_old1/drivers/net/wireless/realtek/rtlwifi/rtl8723be
Jérémy Lefaure 53ac793593 wireless: use ARRAY_SIZE
Using the ARRAY_SIZE macro improves the readability of the code. Also,
it is not always useful to use a variable to store this constant
calculated at compile time.

Found with Coccinelle with the following semantic patch:
@r depends on (org || report)@
type T;
T[] E;
position p;
@@
(
 (sizeof(E)@p /sizeof(*E))
|
 (sizeof(E)@p /sizeof(E[...]))
|
 (sizeof(E)@p /sizeof(T))
)

Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-12-08 15:19:46 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
def.h
dm.c rtlwifi: Add bw_update parameter for RA mask update. 2017-10-13 12:43:41 +03:00
dm.h
fw.c rtlwifi: Add BT_MP_INFO to c2h handler. 2017-07-28 18:16:35 +03:00
fw.h rtlwifi: Add btcoex record_pwr_mode 2017-06-21 18:28:05 +03:00
hw.c wireless: use ARRAY_SIZE 2017-12-08 15:19:46 +02:00
hw.h rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +02:00
led.c rtlwifi: Move items out of rtl_pci_priv and rtl_usb_priv 2017-02-08 17:24:42 +02:00
led.h
phy.c wireless: use ARRAY_SIZE 2017-12-08 15:19:46 +02:00
phy.h
pwrseq.c
pwrseq.h
reg.h rtlwifi: fix REG_USTIME_TSF register definition 2017-06-21 18:23:43 +03:00
rf.c rtlwifi: rtl8723be: Remove all instances of DBG_EMERG 2016-12-30 15:54:21 +02:00
rf.h
sw.c rtlwifi: Add module parameter ASPM 2017-10-13 12:43:42 +03:00
sw.h
table.c wireless: use ARRAY_SIZE 2017-12-08 15:19:46 +02:00
table.h rtlwifi: Update 8723be new phy parameters and its parser. 2017-07-28 18:16:36 +03:00
trx.c rtlwifi: rtl8192ee: Make driver support 64bits DMA. 2017-10-13 12:43:38 +03:00
trx.h rtlwifi: rtl8192ee: Make driver support 64bits DMA. 2017-10-13 12:43:38 +03:00