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)
commit01111fcd42b050bdb7113a7c2c0aed2eaef67b53
treef6ecbee8e3962c8ff7c07c3f3997658fe5038707
parent0508c19a6fddd1ba5495004370e4fc2fd4a7d33a
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