power: Use ARRAY_SIZE macro where possible

Change-Id: Ie47d0e6b91b7bba378b0fdf53a345a021b0c2d48
7 files changed