]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0fa20394bc0b2402dab5addd8acd42a952f2f2db
tree636e8d564a64941e5dbcfc270e9e0253231e885f
parentc886ba68956fba7b9b69730665f2e5d25e9a49f3
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