Input: matrix-keymap - wire up device tree support
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 May 2012 05:37:15 +0000 (22:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 May 2012 05:39:43 +0000 (22:39 -0700)
commitb45c8f35a7fec17bdd159a7815203b6137c00ab9
treec6fc8efe76ff2b382e8290d6df59129200032a5d
parent1932811f426fee71b7ece67e70aeba7e1b0ebb6d
Input: matrix-keymap - wire up device tree support

When platform keymap is not supplied to matrix_keypad_build_keymap()
and device tree support is enabled, try locating specified property
and load keymap from it. If property name is not defined, try using
"linux,keymap".

Based on earlier patch by Viresh Kumar <viresh.kumar@st.com>

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/tegra-kbc.c
drivers/input/matrix-keymap.c
include/linux/input/matrix_keypad.h