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.9-rc2~21^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbd712c2272764a536e29ad6841dba74989a39d9;p=pandora-kernel.git hwmon: (pmbus/ltc2978) Fix peak attribute handling 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 Cc: stable@vger.kernel.org # 3.2+ Acked-by: Jean Delvare --- Reading git-diff-tree failed