]> git.baikalelectronics.ru Git - kernel.git/commit
Input: matrix-keypad - switch to using generic device properties
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Nov 2016 20:43:12 +0000 (12:43 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 31 Jan 2017 19:31:48 +0000 (11:31 -0800)
commit1ba4884b6b1e58958e4a80677a5590c60cbeff0e
treea1a02536fd46b11f05e8e804f018b8384068e45a
parenta5c1eac243b33a00dc579f9498c7985be5482ee3
Input: matrix-keypad - switch to using generic device properties

Instead of being OF-specific, let's switch to using generic device
properties, which will make this code usable on ACPI, device tree and
legacy boards that use property sets.

As part of the change let's rename matrix_keypad_parse_of_params() to
matrix_keypad_parse_properties().

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
12 files changed:
drivers/input/keyboard/bcm-keypad.c
drivers/input/keyboard/cros_ec_keyb.c
drivers/input/keyboard/lpc32xx-keys.c
drivers/input/keyboard/omap4-keypad.c
drivers/input/keyboard/pmic8xxx-keypad.c
drivers/input/keyboard/pxa27x_keypad.c
drivers/input/keyboard/st-keyscan.c
drivers/input/keyboard/stmpe-keypad.c
drivers/input/keyboard/tca8418_keypad.c
drivers/input/keyboard/twl4030_keypad.c
drivers/input/matrix-keymap.c
include/linux/input/matrix_keypad.h