x86_pkg_temp_thermal: Do not expose as a hwmon device
authorJean Delvare <jdelvare@suse.de>
Sun, 2 Mar 2014 14:33:35 +0000 (15:33 +0100)
committerJiri Slaby <jslaby@suse.cz>
Sat, 22 Mar 2014 21:01:54 +0000 (22:01 +0100)
commitdf32b39b835d5aaae3867d8d02a29ee6014ca8a6
treeae77d568743a0592ac7e545375107fb1b7a76681
parente108610d6dcb947d4a8743f8f5bcfb008982826f
x86_pkg_temp_thermal: Do not expose as a hwmon device

commit 79786880a47a8c5b4c8146c03432b3387a07a169 upstream.

The temperature value reported by x86_pkg_temp_thermal is already
reported by the coretemp driver. So, do not expose this thermal zone
as a hwmon device, because it would be redundant.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <eduardo.valentin@ti.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/thermal/x86_pkg_temp_thermal.c