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)
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>

No differences found