Input: marix-keymap - automatically allocate memory for keymap
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 5 Nov 2012 18:32:55 +0000 (10:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Nov 2012 16:35:07 +0000 (08:35 -0800)
commit5383116b86d8e877684770d05acd1dda62be102d
tree11346ce080a0d35509d827b50994e832a30175c3
parent544a46c917fcf0a439cc0c428d76ba731a380cae
Input: marix-keymap - automatically allocate memory for keymap

In device tree enabled setups requiring preallocated memory for storing keymap
is quite often awkward, so let's provide an option of allocating it directly
in matrix_keypad_build_keymap().

Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/matrix-keymap.c