diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-11-11 21:43:12 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-31 20:31:48 +0100 |
commit | aef01aad89e457e34a60ff6e8fd69ff6740cf201 (patch) | |
tree | a1a02536fd46b11f05e8e804f018b8384068e45a /drivers/input/keyboard/stmpe-keypad.c | |
parent | Input: delete MPU3050 driver (diff) | |
download | linux-aef01aad89e457e34a60ff6e8fd69ff6740cf201.tar.xz linux-aef01aad89e457e34a60ff6e8fd69ff6740cf201.zip |
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>
Diffstat (limited to 'drivers/input/keyboard/stmpe-keypad.c')
-rw-r--r-- | drivers/input/keyboard/stmpe-keypad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/stmpe-keypad.c b/drivers/input/keyboard/stmpe-keypad.c index fe6e3f22eed7..8c6c0b9109c7 100644 --- a/drivers/input/keyboard/stmpe-keypad.c +++ b/drivers/input/keyboard/stmpe-keypad.c @@ -354,7 +354,7 @@ static int stmpe_keypad_probe(struct platform_device *pdev) input->id.bustype = BUS_I2C; input->dev.parent = &pdev->dev; - error = matrix_keypad_parse_of_params(&pdev->dev, &rows, &cols); + error = matrix_keypad_parse_properties(&pdev->dev, &rows, &cols); if (error) return error; |