hwmon: (nct6775) Use ARRAY_SIZE for loops where possible
authorGuenter Roeck <linux@roeck-us.net>
Tue, 9 Apr 2013 12:04:00 +0000 (05:04 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 13 Apr 2013 15:44:35 +0000 (08:44 -0700)
commitc409fd43bdea705799d21531600b8f305b120009
tree0ea105e552da63ae4feb4c29faa8a8647983d462
parent1754e4c5c7650da6581dc28f182af9010b84e9c2
hwmon: (nct6775) Use ARRAY_SIZE for loops where possible

This ensures that the loop iterations are correct even if/when
the number of elements in an array changes.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c