hwmon: (max1668) Fix writing the minimum temperature
authorGuenter Roeck <linux@roeck-us.net>
Sun, 16 Feb 2014 01:54:06 +0000 (17:54 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 18 Feb 2014 23:53:49 +0000 (15:53 -0800)
commit500a91571f0a5d0d3242d83802ea2fd1faccc66e
tree4c1baaeb3aaca0bad41756cb57ede6fe38d8e505
parent6d0abeca3242a88cab8232e4acd7e2bf088f3bc2
hwmon: (max1668) Fix writing the minimum temperature

When trying to set the minimum temperature, the driver was erroneously
writing the maximum temperature into the chip.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org # v3.2+
Reviewed-by: Jean Delvare <jdelvare@suse.de>
drivers/hwmon/max1668.c