diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2019-10-23 23:52:23 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-10-24 02:24:13 +0300 |
commit | cb3efd5a38855eabd26c2b631dd027169678d60f (patch) | |
tree | 51605fa5cda6b3d40fae16b84823c1b1c7cd55ed /drivers/fpga/dfl-fme-main.c | |
parent | ee1b4b2e7c92f892855175e564e091130a59d707 (diff) | |
download | linux-cb3efd5a38855eabd26c2b631dd027169678d60f.tar.xz |
Input: adp5589 - make keypad support optional
On some platforms the adp5589 is used in GPIO only mode. On these platforms
we do not want to register a input device, so make that optional and only
create the input device if a keymap is supplied.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20191023070541.13940-1-alexandru.ardelean@analog.com
[dtor: dropped unnecessary changes related to passing pdata to various
functions]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/fpga/dfl-fme-main.c')
0 files changed, 0 insertions, 0 deletions