x86_pkg_temp_thermal: Fix the thermal zone type
authorJean Delvare <jdelvare@suse.de>
Sun, 2 Mar 2014 14:05:49 +0000 (15:05 +0100)
committerZhang Rui <rui.zhang@intel.com>
Mon, 3 Mar 2014 15:13:37 +0000 (23:13 +0800)
commit3e4216531c442ea99cb32a69e5ef4af723e7b5a9
treeafb8c75e3c33f0a22c694e2678a9fe3046153509
parent79786880a47a8c5b4c8146c03432b3387a07a169
x86_pkg_temp_thermal: Fix the thermal zone type

The thermal zone type should not include an instance number. Otherwise
each zone is considered a different type and the thermal-to-hwmon
bridge fails to group them all in a single hwmon device.

I also changed the type to "x86_pkg_temp", because "pkg" was too
generic, and other thermal drivers use an underscore, not a dash, as
a separator. Or maybe "cpu_pkg_temp" would be better?

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/x86_pkg_temp_thermal.c