commit | f671f284c0ff481959ce0d45b93fb04e4a45627e | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Thu Feb 21 09:33:25 2013 -0800 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:17:47 2020 +0200 |
tree | 98cf496da525599d6d11ec96bf9cda2c47a98554 | |
parent | e579d7fc03f9105338bbdf8bf4880bd23b132fe3 [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>