diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-04-06 16:01:46 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-07 01:37:27 -0400 |
commit | 13614e37e94da4606a300ee6fe25c8c4a19ee670 (patch) | |
tree | 648a67c5436fde7470b59965198e96bb6e2c399f /drivers/usb/usb-skeleton.c | |
parent | d508afb437daee7cf07da085b635c44a4ebf9b38 (diff) |
ACPI: Adjust Kelvin offset to match local implementation
The exact offset between Kelvin and degree Celsius is 273.15. However
ACPI handles temperature values with a single decimal place. As a
consequence, some implementations use an offset of 273.1 and others
use an offset of 273.2. Try to find out which one is being used, to
present the most accurate and visually appealing number.
Tested on a Sony Vaio PGC-GR214EP (which uses 273.1) and a Lenovo
Thinkpad T60p (which uses 273.2).
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions