diff options
author | 2008-10-17 17:51:16 +0200 | |
---|---|---|
committer | 2008-10-17 17:51:16 +0200 | |
commit | 4ed1077953f531b3fef4af4b4ade48a828c48869 (patch) | |
tree | aa7e98269aba19ec851521ad2127e87c615fff36 /kernel/resource.c | |
parent | hwmon: (lm78) Convert to a new-style i2c driver (diff) | |
download | wireguard-linux-4ed1077953f531b3fef4af4b4ade48a828c48869.tar.xz wireguard-linux-4ed1077953f531b3fef4af4b4ade48a828c48869.zip |
hwmon: (it87) Fix thermal sensor type values
The it87 driver doesn't follow the standard sensor type values as
documented in Documentation/hwmon/sysfs-interface. It uses value 2 for
thermistors instead of value 4. This causes "sensors" to tell the user
that the chip is setup for a transistor while it is actually setup for
a thermistor.
Using value 4 for thermistors solves the problem. For compatibility
reasons, we still accept value 2 but emit a warning message so that
users update their configuration files.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions