hwmon: (max34440) Fix resetting temperature history
authorGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2012 11:44:34 +0000 (03:44 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 24 Feb 2012 16:06:15 +0000 (08:06 -0800)
commitdc91ad8e84593eb49c65cca70537088782b21e08
tree9ccc693f54161409283b273c5ee6d99be89e2a38
parentc1c1a3d012fe5e82a9a025fb4b5a4f8ee67a53f6
hwmon: (max34440) Fix resetting temperature history

Temperature history is reset by writing 0x8000 into the peak temperature
register, not 0xffff.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/pmbus/max34440.c