diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-10-08 22:25:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 06:43:20 +0300 |
commit | eef6c808d3828d55334023c13c96e1ca5cd1008b (patch) | |
tree | f1fb2439ef234ea77ccfd5e545d31532b5c6cf43 /drivers/staging/rtl8712/hal_init.c | |
parent | 3cd66a18138ce6439ef11dca6347c6c1e180189c (diff) | |
download | linux-eef6c808d3828d55334023c13c96e1ca5cd1008b.tar.xz |
Staging: rtl8712: Use ARRAY_SIZE macro
ARRAY_SIZE is more concise to use when the size of an array is divided
by the size of its type
Changes made using Coccinelle-
@@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/hal_init.c')
0 files changed, 0 insertions, 0 deletions