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)
commitaef01aad89e457e34a60ff6e8fd69ff6740cf201
treea1a02536fd46b11f05e8e804f018b8384068e45a
parentb1fe0cf06f92ff8ebe77959810ec3ff2555ff56c
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