hwmon: (w83795) Drop _NUM constants
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:48 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:48 +0000 (20:31 +0200)
commitcd316df582925f3dab1ce5863651b3e260687035
tree9f0f6918f00e41afe92f7f681dc0ace9a964cccb
parent49c7347a44224b5b87c7e6a3c6c92619d77c06d5
hwmon: (w83795) Drop _NUM constants

Consistently use ARRAY_SIZE() to control for loops.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83795.c