Jean Delvare cd5bd3df1a hwmon: (coretemp) Initialize tmin
ttarget is initialized when the driver is loaded, but tmin is not.
As a result, tempX_max_hyst attributes read 0. Fix this.

Also use THERM_*_THRESHOLD* constants in these initializations instead
of hard-coding the constants.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: "R, Durgadoss" <durgadoss.r@intel.com>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2011-09-14 03:55:05 -07:00
..
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:33 +02:00
2009-12-14 21:17:27 +01:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2010-10-28 20:31:50 +02:00
2010-10-28 20:31:50 +02:00
2011-09-14 03:55:05 -07:00
2011-01-12 21:55:13 +01:00
2009-12-14 21:17:26 +01:00
2011-01-12 21:55:11 +01:00
2009-12-14 21:17:27 +01:00
2011-08-11 10:14:18 -07:00
2011-05-25 20:43:32 +02:00
2011-03-21 17:59:36 +01:00
2009-12-14 21:17:26 +01:00
2011-07-25 21:46:11 +02:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2011-01-18 12:22:54 -08:00
2011-07-28 00:17:35 -07:00
2011-03-14 22:39:11 -07:00
2009-12-14 21:17:26 +01:00
2011-07-25 21:46:09 +02:00
2011-07-25 21:46:09 +02:00
2011-07-26 16:49:47 -07:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2011-03-31 11:26:23 -03:00
2010-10-28 20:31:50 +02:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00