toshiba_acpi: Use the Hotkey Event Type function for keymap choosing
authorAzael Avalos <coproscefalo@gmail.com>
Fri, 20 Mar 2015 22:55:17 +0000 (16:55 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 25 Mar 2015 17:58:24 +0000 (10:58 -0700)
commita2b3471b5b13b81c5975d8f88db65694d7b69f56
tree636e8d564a64941e5dbcfc270e9e0253231e885f
parent56e6b353396187a6e79acdbe3934fcd796a15e2e
toshiba_acpi: Use the Hotkey Event Type function for keymap choosing

With the previous patch adding support to "Hotkey Event Type", we can
now use the type to distinguish which keymap to use.

This patch changes the toshiba_acpi_setup_keyboard function to make
use of the hotkey event type to choose the correct keymap without the
need to use the DMI matching list.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c