staging: rtl8723au: Use ARRAY_SIZE macro for sizes of arrays
authorJanani Ravichandran <janani.rvchndrn@gmail.com>
Thu, 11 Feb 2016 23:50:40 +0000 (18:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 04:03:56 +0000 (20:03 -0800)
commit993c0a0ea0062e24fb96f579d1b655b15f3c9dfa
tree380cc15d9d0537a440ae32e8392d83ab7eb6c40e
parent2fbf6d61664ba04d4c7872cbb46720e49264cf3a
staging: rtl8723au: Use ARRAY_SIZE macro for sizes of arrays

Use ARRAY_SIZE to calculate the size of an array to make code concise.
The semantic patch used can be found here:
https://github.com/coccinelle/coccinellery/commit/9cbab452a3a2e18439e8386d6c4a68ee42c3ee2b

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c
drivers/staging/rtl8723au/core/rtw_mlme_ext.c
drivers/staging/rtl8723au/hal/HalHWImg8723A_BB.c
drivers/staging/rtl8723au/hal/HalHWImg8723A_MAC.c