]> git.baikalelectronics.ru Git - kernel.git/commit
toshiba-acpi - switch to using sparse keymap
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 Aug 2010 05:30:19 +0000 (22:30 -0700)
committerMatthew Garrett <mjg@redhat.com>
Thu, 21 Oct 2010 13:36:43 +0000 (09:36 -0400)
commit504e37c10d182015c2d51c018bde5cabad5f9b8d
treeeb76ae01c26465ae4c3d96f57de2abfb73810929
parente0167504d49806ae26583e2fc7448494be075eed
toshiba-acpi - switch to using sparse keymap

Instead of implementing its own version of keymap hanlding switch over
to using sparse keymap library.

Also, install notify handler only after we allocated input device,
otherwise we may risk getting event too early and crash. Similarly,
notify handler should be removed before we unregister input device.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/toshiba_acpi.c