]> git.baikalelectronics.ru Git - kernel.git/commit
Input: adp5588-keys - do not check for irq presence
authorNuno Sá <nuno.sa@analog.com>
Wed, 31 Aug 2022 04:09:32 +0000 (21:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 31 Aug 2022 04:16:28 +0000 (21:16 -0700)
commit49088a697d3fb29d6de020d47343721a0026b9e9
tree3a5bc5e6a91e508a99a76cb0a84131f09e12fa01
parent42c67c3ff88458900abb39a7c60e323e6f0522a5
Input: adp5588-keys - do not check for irq presence

There's no need for an extra check for 'client-irq'. Just let it fail when
calling 'request_irq()'.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220829131553.690063-7-nuno.sa@analog.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5588-keys.c