]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:57:35 +0000 (11:57 -0700)
commit5ab76b295a4922e7331ad846c3828d5daf709f45
tree579a90f78b0c00456246460034c2d76ee28810bb
parent04c0aca8ff980e0654d4b4f519cab8da7ede638e
thinkpad-acpi: lock down size of hotkey keymap

[ upstream commit 34a656d22f5539f613b93e7a1d14b4bd53592505 ]

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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c