ACPI: thinkpad-acpi: dequeue all pending hot key events at once (v2.2)
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 23 Sep 2007 14:39:04 +0000 (11:39 -0300)
committerLen Brown <len.brown@intel.com>
Mon, 24 Sep 2007 02:38:15 +0000 (22:38 -0400)
commit3eea123df1637a88d0899626a67b83dca959efff
treefcade902437301c693c2951ec97969075319e324
parent1b6521dc84f372dd92a96381fbeeebb01173d050
ACPI: thinkpad-acpi: dequeue all pending hot key events at once (v2.2)

Receive all pending HKEY events at once from a single notification, and don't
complain if the queue is empty.

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