]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: use ARRAY_SIZE macro
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 2 Oct 2015 07:41:16 +0000 (16:41 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 10:05:53 +0000 (12:05 +0200)
commit1af01b62459bdc0f25517dcbc4389611a49f9950
tree8c1840fd5a7f08aec84126d460a468062b0e060d
parentf9d85b7685bb3bbd42627058f8cd84f1850b8a78
staging: wilc1000: use ARRAY_SIZE macro

This patch uses ARRAY_SIZE macro found by checkpatch.pl

WARNING: Prefer ARRAY_SIZE(wb)
drivers/staging/wilc1000/wilc_spi.c:400
drivers/staging/wilc1000/wilc_spi.c:402

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_spi.c