]> git.ipfire.org Git - people/ms/u-boot.git/commit
arch/powerpc: Simplify some calculations using ARRAY_SIZE() macro.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Mon, 23 May 2016 10:49:21 +0000 (06:49 -0400)
committerYork Sun <york.sun@nxp.com>
Sat, 4 Jun 2016 05:13:12 +0000 (22:13 -0700)
commitb7707b043ebbf88fe0fb49442db9316ded3a0740
tree13adaba016b9695f0f33c17f898207d88a671599
parent534992827756c3a1ab49823ca487702a954fe433
arch/powerpc: Simplify some calculations using ARRAY_SIZE() macro.

Replace a number of array length calculations with the ARRAY_SIZE()
macro, for clarity.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc512x/fixed_sdram.c
arch/powerpc/cpu/mpc8260/cpu_init.c
arch/powerpc/cpu/mpc8260/ether_fcc.c
arch/powerpc/cpu/mpc83xx/cpu_init.c
arch/powerpc/cpu/mpc83xx/speed.c
arch/powerpc/cpu/mpc85xx/ether_fcc.c
arch/powerpc/cpu/mpc8xx/fec.c
arch/powerpc/cpu/ppc4xx/reginfo.c
arch/powerpc/cpu/ppc4xx/sdram.c