diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-08-20 14:00:37 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-22 18:30:31 (GMT) |
commit | d6b81daaa2afaa17d39b34e36ca17bc6062b4bc5 (patch) | |
tree | 45ee19dab430cc9354ee82df621e7d9887e0cc00 /README | |
parent | acf97e9b5a5246da1193cb564377a4e7793eb29e (diff) | |
download | linux-fsl-qoriq-d6b81daaa2afaa17d39b34e36ca17bc6062b4bc5.tar.xz |
brcmsmac: use ARRAY_SIZE in phytbl_lcn.c
This patch converts all sizeof(x)/sizeof(x[0]) instances to
ARRAY_SIZE macro in phytbl_lcn.c. The patch was made using
spatch with ARRAY_SIZE.cocci (see [1]).
[1] https://github.com/coccinelle/coccinelle/tree/master/demos/janitorings
Cc: Jonas Gorski <jogo@openwrt.org>
Tested-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions