]> git.baikalelectronics.ru Git - kernel.git/commit
Input: matrix-keypad - allocate keycodes with keypad structure
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 21 Apr 2012 05:33:08 +0000 (22:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 21 Apr 2012 06:06:49 +0000 (23:06 -0700)
commit47475b462d80015421d73c7aefcab70ae128b899
treef6ecbee8e3962c8ff7c07c3f3997658fe5038707
parenta5f7b365f5e7624047bfce9743f6580fccb4634f
Input: matrix-keypad - allocate keycodes with keypad structure

Instead of allocating and managing keymap separately from the keypad
structure stick it at the end as a variable-length array.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/matrix_keypad.c