diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2008-03-19 20:00:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-19 21:53:36 -0400 |
commit | ffda6857c87fbe3ab144ff3f34b89421eed048cf (patch) | |
tree | 840938d3a8777f3bf5f391ee918e3d8924e00ad3 /drivers/hwmon | |
parent | 3d960a99ab1dcf6f395b883c5cca01c2dc150451 (diff) |
ibmpex: report temperatures in mC, not C
ibmpex's temperature sensors report incorrect units. Apply a conversion
factor so that tempertures report correctly. Until now, no systems seemed to
report temperatures this way, but evidently QS2x blades do.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/ibmpex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ibmpex.c b/drivers/hwmon/ibmpex.c index db551d869feb..4e9b19c6732f 100644 --- a/drivers/hwmon/ibmpex.c +++ b/drivers/hwmon/ibmpex.c | |||
@@ -410,7 +410,7 @@ static int ibmpex_find_sensors(struct ibmpex_bmc_data *data) | |||
410 | sensor_type = TEMP_SENSOR; | 410 | sensor_type = TEMP_SENSOR; |
411 | num_temp++; | 411 | num_temp++; |
412 | sensor_counter = num_temp; | 412 | sensor_counter = num_temp; |
413 | data->sensors[i].multiplier = 1; | 413 | data->sensors[i].multiplier = 1000; |
414 | } else | 414 | } else |
415 | continue; | 415 | continue; |
416 | 416 | ||