ACPI / thermal: Add check of "_TZD" availability and evaluating result
authorLan Tianyu <tianyu.lan@intel.com>
Tue, 27 Aug 2013 08:29:31 +0000 (16:29 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Aug 2013 19:47:07 +0000 (21:47 +0200)
commit668e02004462487df8ec6c65c665ddb8af78dc12
tree219461522ad0444b63a1e9e62fbe28d4652bd653
parent7702ae0dd9b40930931914866999a2ac9734d3eb
ACPI / thermal: Add check of "_TZD" availability and evaluating result

Some machines don't provide _TZD, so check the availability of it
before carrying out futher operations.

If _TZD is present, also check the result of its evaluation.

[rjw: Changelog]
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/thermal.c