commit | ec2bc2f65c469aa5d0a1eb21f8404e0e3114bde4 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Thu Feb 21 09:33:25 2013 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 14 11:29:49 2013 -0700 |
tree | 2bce7b7a154e6bff7e658e62e4d1668106f70218 | |
parent | cca30bd4c94123776dc3620cd13c6aedb76e4b55 [diff] |
hwmon: (pmbus/ltc2978) Fix peak attribute handling commit dbd712c2272764a536e29ad6841dba74989a39d9 upstream. Peak attributes were not initialized and cleared correctly. Also, temp2_max is only supported on page 0 and thus does not need to be an array. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>