thinkpad-acpi: lock down size of hotkey keymap
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 10 Aug 2010 02:48:20 +0000 (23:48 -0300)
committerMatthew Garrett <mjg@redhat.com>
Mon, 16 Aug 2010 15:54:52 +0000 (11:54 -0400)
commit34a656d22f5539f613b93e7a1d14b4bd53592505
tree7b664b042426531f9f52e4f6f4442a94d35208c6
parent217f09631a420295a9688e18aa4dbad1b385e56c
thinkpad-acpi: lock down size of hotkey keymap

Use a safer coding style for the hotkey keymap.  This does not fix any
problems, as the current code is correct.  But it might help avoid
mistakes in the future.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/thinkpad_acpi.c