hwmon: Fix off-by-one kind values
authorJean Delvare <khali@linux-fr.org>
Fri, 5 Mar 2010 21:17:26 +0000 (22:17 +0100)
committerJean Delvare <khali@linux-fr.org>
Fri, 5 Mar 2010 21:17:26 +0000 (22:17 +0100)
commitdc71afe5ac7e8d049bb991330518e4c898a7d92e
treed4062a740a4a287a933483a74c3393ddea67821d
parenta44908d742a577fb5ccb9a8c082326d4cea234c2
hwmon: Fix off-by-one kind values

Recent changes on the I2C front have left off-by-one array indexes in
3 hwmon drivers. Fix them.

Faulty commit:
e5e9f44c2 i2c: Drop I2C_CLIENT_INSMOD_2 to 8

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Andre Prendel <andre.prendel@gmx.de>
Cc: stable@kernel.org
drivers/hwmon/fschmd.c
drivers/hwmon/tmp401.c
drivers/hwmon/tmp421.c