hwmon: (sht15) Off-by-one error in array index + incorrect constants
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 16 Dec 2009 20:38:28 +0000 (21:38 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 16 Dec 2009 20:38:28 +0000 (21:38 +0100)
commit4235f684b66d6f00d2cd8849c884cf8f8b57ecad
tree180599fdf75c31b7ab7e41d2b5b696f175121c05
parent70c38772aef27b01dc236fb4016261c3828df6aa
hwmon: (sht15) Off-by-one error in array index + incorrect constants

Fix an off-by-one error in array index + incorrect constants.

Signed-off-by: Christoph Walser <walser@tik.ee.ethz.ch>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/sht15.c