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)
commit384a7cd9ace5b37a17ffea436f09170cdf671c88
treeeb76ae01c26465ae4c3d96f57de2abfb73810929
parent4d291ed7217d617dacbf54b4bd35819b0d08b981
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