dell_wmi: Use a C99-style array for bios_to_linux_keycode
authorAndy Lutomirski <luto@kernel.org>
Sat, 14 Nov 2015 05:49:31 +0000 (21:49 -0800)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 21 Nov 2015 00:22:52 +0000 (16:22 -0800)
commit394cb778ca2b9627e5189076e7299e8ab3969c7e
treea84cdbf3797069ce639521aebd33c4a5fd92070f
parent260e0eca80b4b279ac300c6dc50210b684a959b0
dell_wmi: Use a C99-style array for bios_to_linux_keycode

It's currently hard to follow what maps to what, and it's hard to edit
the array.  Redo it as a C99-style array.

I generated this using emacs regexes and a python one-liner.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-wmi.c