On some platforms (eg: RZ/{G2UL,Five} SMARC EVK), there is no onkey IRQ populated by default. This patch series aims to add polling support. v2->v3: * Created patch#1 and patch#2 for removing work. * Updated commit description as cleanup is done in patch#1 * Dropped scheduling work instead start using polling as in the polling * case scheduling any additional works will create confused state for * driver if we repeatedly open and close input device. v1->v2: * Updated commit description * Fixed the logical mistake for optional IRQ handling. Biju Das (3): Input: da9063_onkey - Add da9063_onkey_report_key() Input: da9063_onkey - Drop scheduling work Input: da9063_onkey - Add polling support drivers/input/misc/da9063_onkey.c | 130 +++++++++++++++++++----------- 1 file changed, 82 insertions(+), 48 deletions(-) -- 2.25.1