ACPI: move thermal trip handling to generic thermal layer
authorMatthew Garrett <mjg59@srcf.ucam.org>
Wed, 3 Dec 2008 17:55:32 +0000 (17:55 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 20 Feb 2009 23:41:56 +0000 (18:41 -0500)
commitb1569e99c795bf83b4ddf41c4f1c42761ab7f75e
treead45358dd111e0c4ce71d58565068c47c0171c3d
parent6503e5df08008b9a47022b5e9ebba658c8fa69af
ACPI: move thermal trip handling to generic thermal layer

The ACPI code currently carries its own thermal trip handling, meaning that
any other thermal implementation will need to reimplement it. Move the code
to the generic thermal layer.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/thermal.c
drivers/thermal/thermal_sys.c
include/linux/thermal.h