ACPI: thinkpad-acpi: handle HKEY thermal and battery alarms
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 11 Jan 2009 05:01:06 +0000 (03:01 -0200)
committerLen Brown <len.brown@intel.com>
Thu, 15 Jan 2009 18:45:46 +0000 (13:45 -0500)
commit106b4e6657e10831f35c32afa26d9c11e6312783
tree54f913dbda8642cbb86a754045548ed59599c2bb
parent3827e7a3fd03718d4d204c66d9e3ab9b125ae552
ACPI: thinkpad-acpi: handle HKEY thermal and battery alarms

Handle some HKEY events that are actually firmware alarms.  For
now, we do the simple thing: log specific messages to the log and let
the thinkpad-specific event pass to userspace.

In the future, these events will be migrated to generic notifications
and subsystems.

These alarms are NOT available on all ThinkPads.  E.g. the T43 only
issues 0x6011 and 0x6012.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/thinkpad_acpi.c