linux_dsm_epyc7002/drivers/net/wireless/realtek/rtlwifi/rtl8821ae
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
..
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: rtl8821ae: fix spelling mistake: "faill" -> "failed" 2017-08-24 12:56:05 +03:00
fw.h rtlwifi: Add btcoex record_pwr_mode 2017-06-21 18:28:05 +03:00
hw.c rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +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
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy.c rtlwifi: make a couple arrays larger 2017-08-24 12:53:50 +03:00
phy.h rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
pwrseq.c
pwrseq.h
reg.h rtlwifi: fix REG_USTIME_TSF register definition 2017-06-21 18:23:43 +03:00
rf.c rtlwifi: rtl8821ae: Remove all instances of DBG_EMERG 2016-12-30 15:54:20 +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 8812ae new phy parameters and its parser. 2017-03-20 19:10:15 +02: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