From: Arend van Spriel Date: Tue, 20 Aug 2013 14:00:37 +0000 (+0200) Subject: brcmsmac: use ARRAY_SIZE in phytbl_lcn.c X-Git-Tag: v3.12-rc1~132^2~84^2^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b81daaa2afaa17d39b34e36ca17bc6062b4bc5;p=pandora-kernel.git 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 Tested-by: David Herrmann Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed