[PATCH][RESEND] input: adp5589: Make keypad support optional

2019-10-23 Thread Alexandru Ardelean
From: Lars-Peter Clausen 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 Signed-off-by: Alexandru Ardelean --

[PATCH][RESEND] input: adp5589: Make keypad support optional

2019-09-27 Thread Alexandru Ardelean
From: Lars-Peter Clausen 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 Signed-off-by: Alexandru Ardelean --