Input: tc3589x-keypad - fix keymap size
authorRabin Vincent <rabin.vincent@stericsson.com>
Sun, 10 Mar 2013 00:17:20 +0000 (16:17 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 11 Mar 2013 01:32:51 +0000 (18:32 -0700)
commit882eee058b26b388620b0adabd5012583aa49d96
treede6d64af3c260885b4a42e24bb39121ba3f522a2
parent4760517cad37ee7b53f06e1ab354a3e7a1904671
Input: tc3589x-keypad - fix keymap size

The keymap size used by tc3589x is too low, leading to the driver
overwriting other people's memory.  Fix this by making the driver
use the automatically allocated keymap provided by
matrix_keypad_build_keymap() instead of allocating one on its own.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tc3589x-keypad.c