commit | ed4ec814e45ae8b1596aea0a29b92f6c3614acaa | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sat Apr 26 16:34:26 2008 +0200 |
committer | Mark M. Hoffman <mhoffman@lightlink.com> | Thu Jun 19 06:50:31 2008 -0400 |
tree | 05190bbb539e2c383555d46d6302269788dd03ca | |
parent | d38b149794e7444a55e741446717147e7f0467f8 [diff] |
hwmon: (adt7473) Initialize max_duty_at_overheat before use data->max_duty_at_overheat is not updated in adt7473_update_device, so it might be used before it is initialized (if the user reads from sysfs file max_duty_at_crit before writing to it.) Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>