Input: matrix_keypad - consolidate handling of clustered interrupt
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 21 Jan 2024 05:32:29 +0000 (21:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 31 Jan 2024 18:54:37 +0000 (10:54 -0800)
commit8cf4b3683a713a4b54d44565e8a32b4cca357084
tree2c3af9f54f0bf0e5186691f31ba9f5730ebbab39
parenta96fb711c6be76bcfbcf594a865002fa7c0eb525
Input: matrix_keypad - consolidate handling of clustered interrupt

Now that the driver stores interrupt numbers corresponding to individual
GPIOs in non-clustered mode, it is possible to unify handling of both
modes by storing clustered interrupt at position 0 and setting the
number of interrupts in this case to 1.

Link: https://lore.kernel.org/r/20240121053232.276968-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/matrix_keypad.c