hwmon: (max1668) Fix writing the minimum temperature
authorGuenter Roeck <linux@roeck-us.net>
Sun, 16 Feb 2014 01:54:06 +0000 (17:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Mar 2014 23:10:01 +0000 (16:10 -0700)
commit8d36299431351e5c3a893d9c1eae7579ebc57ad5
tree0fff306be2a8ad2253553a8ef1bcbf61c5dad5c9
parent564a4d6c3205fc001579c00a0ce19b665f860487
hwmon: (max1668) Fix writing the minimum temperature

commit 500a91571f0a5d0d3242d83802ea2fd1faccc66e upstream.

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>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/max1668.c