From: Guenter Roeck Date: Thu, 21 Feb 2013 17:33:25 +0000 (-0800) Subject: hwmon: (pmbus/ltc2978) Fix peak attribute handling X-Git-Tag: v3.2.41~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d99248b8a03e548521ac4d87588ab1356e990618;p=pandora-kernel.git 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 Acked-by: Jean Delvare [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed