ACPI/int340x_thermal: enumerate INT340X devices even if they're not in _ART/_TRT
authorZhang Rui <rui.zhang@intel.com>
Sun, 4 Jan 2015 06:24:23 +0000 (14:24 +0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 6 Jan 2015 00:17:06 +0000 (08:17 +0800)
commit48628e4015dbd77b676c5a9b5bd145a284f8bb93
treefaa61e0ff867624a954e755958723b369865e265
parent693a30b8f19a964087a3762d09fb2e1cbad6b0d4
ACPI/int340x_thermal: enumerate INT340X devices even if they're not in _ART/_TRT

For some INT340X thermal devices, even if they are not referred in
_TRT/_ART table, they still can be used by userspace for thermal control.
Thus change the code to enumerated all the INT340X devices,
no matter if they're referred in _TRT/_ART or not.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
drivers/acpi/int340x_thermal.c
drivers/thermal/int340x_thermal/acpi_thermal_rel.c