ACPI thermal: Check for thermal zone requirement
authorThomas Renninger <trenn@suse.de>
Tue, 16 Feb 2010 21:55:51 +0000 (22:55 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 19 Feb 2010 06:48:48 +0000 (01:48 -0500)
commit8b7ef6d8f16274da42344cd50746ddb1c93c25ea
treeddb90374556693b5173b2610821e6bdd60845af8
parentf8b55f251012e104093e105483c45c5d85ad3040
ACPI thermal: Check for thermal zone requirement

ACPI spec says (11.5 Thermal Zone Interface Requirements):
   A thermal zone must contain at least one trip point
   (critical, near critical, active, or passive)

Check this once at init time.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Tested-by: clarkt@cnsp.com
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/thermal.c