]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc01afda7ce81517e6606e4ca1210d7238da832b9
tree7b664b042426531f9f52e4f6f4442a94d35208c6
parentad37d09f1fbf66a8aaff40ba79a4c3a5365ba799
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