diff options
author | Dmitry Torokhov <[email protected]> | 2024-01-20 21:32:28 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2024-01-31 10:53:51 -0800 |
commit | a96fb711c6be76bcfbcf594a865002fa7c0eb525 (patch) | |
tree | bbd46e2a987d151666605137e84fc0035b7d8d14 /lib/memory-notifier-error-inject.c | |
parent | 3aa182bbc5b657329a8b85fa5303b8af0f461636 (diff) |
Input: matrix_keypad - avoid repeatedly converting GPIO to IRQ
There is no need to do conversion from GPIOs to interrupt numbers.
Convert row GPIOs to interrupt numbers once in probe() and use
this information when the driver needs to enable or disable given
interrupt line.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions