ACPI: thinkpad-acpi: handle HKEY thermal and battery alarms
commit7ea18b1fe210ade34f215dd2784085c0fac1dca8
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 24 Mar 2009 06:54:57 +0000 (24 03:54 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 24 Mar 2009 06:54:57 +0000 (24 03:54 -0300)
tree4cf5d99cb20822178f8b6395280a772bb079e682
parentd9d8a37957ac6ad9d511f039f9a3ca279492dd94
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>
drivers/platform/x86/thinkpad_acpi.c