diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-09-14 04:43:07 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-09-14 03:55:05 -0700 |
commit | cd5bd3df1a6e7a68454734fb109c409101c20f42 (patch) | |
tree | 9cb608bbc5f3057aee103718041e16fa3523a98c /drivers/hwmon/Makefile | |
parent | 40257b953fdd519c743138f3fbe3962d54991116 (diff) | |
download | op-kernel-dev-cd5bd3df1a6e7a68454734fb109c409101c20f42.zip op-kernel-dev-cd5bd3df1a6e7a68454734fb109c409101c20f42.tar.gz |
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>
Diffstat (limited to 'drivers/hwmon/Makefile')
0 files changed, 0 insertions, 0 deletions