post: use ARRAY_SIZE
authorMike Frysinger <vapier@gentoo.org>
Tue, 10 May 2011 07:28:35 +0000 (07:28 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Jul 2011 14:48:33 +0000 (16:48 +0200)
commitd2397817f12d246cfd88caefd6f12dfd3e2d2c17
treea925fe399a8b9bfe359d02cfb95aa990ed88d187
parent9146d13821a20c49703e1f8f7e4a4f028678883d
post: use ARRAY_SIZE

We've got a handy dandy macro already for calculating the number of
elements in an array, so use it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
25 files changed:
post/board/lwmon/sysmon.c
post/cpu/mpc8xx/ether.c
post/cpu/mpc8xx/spr.c
post/cpu/mpc8xx/uart.c
post/cpu/ppc4xx/spr.c
post/drivers/memory.c
post/lib_powerpc/andi.c
post/lib_powerpc/cmp.c
post/lib_powerpc/cmpi.c
post/lib_powerpc/cr.c
post/lib_powerpc/fpu/mul-subnormal-single-1.c
post/lib_powerpc/load.c
post/lib_powerpc/multi.c
post/lib_powerpc/rlwimi.c
post/lib_powerpc/rlwinm.c
post/lib_powerpc/rlwnm.c
post/lib_powerpc/srawi.c
post/lib_powerpc/store.c
post/lib_powerpc/three.c
post/lib_powerpc/threei.c
post/lib_powerpc/threex.c
post/lib_powerpc/two.c
post/lib_powerpc/twox.c
post/post.c
post/tests.c