]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (it87) Report thermal sensor type as Intel PECI if appropriate
authorGuenter Roeck <linux@roeck-us.net>
Sun, 11 Nov 2012 22:51:35 +0000 (09:51 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 11 Nov 2012 22:51:35 +0000 (09:51 +1100)
commit5048a21bda8d4afda150d71c4a1e0b550078b6d9
tree613429341653d78e52bb7d3395c10446b240c76e
parenta586375e0b30f84d349ce6df97c81fc3b62218e4
hwmon: (it87) Report thermal sensor type as Intel PECI if appropriate

IT8721 and IT8728 support Intel PECI temperature reporting. Each sensor
can be programmed to display the temperature reported on the PECI interface.

If configured for Intel PECI, the driver reported the wrong sensor type for
the respective thermal sensor. Fix the code to correctly report it as
"Intel PECI (6)".

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/hwmon/it87
drivers/hwmon/it87.c