From: Jean Delvare Date: Fri, 17 Oct 2008 15:51:16 +0000 (+0200) Subject: hwmon: (it87) Fix thermal sensor type values X-Git-Tag: v2.6.28-rc1~259^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ed1077953f531b3fef4af4b4ade48a828c48869;p=pandora-kernel.git 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 Acked-by: Hans de Goede --- Reading git-diff-tree failed