summaryrefslogtreecommitdiff
path: root/drivers/input/evdev.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-11-13 16:44:44 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-01-21 12:22:43 -0800
commit4eec8772e4f501b719df5264fc345b37a9af3c68 (patch)
treed26fbafa9bc727e83be91a8e3bc0840bf9c96d81 /drivers/input/evdev.c
parent7cda46c30d17e6c7011fd7067f7b7638fa45934d (diff)
Input: gpio_decoder - replace custom loop by gpiod_get_array_value_cansleep()
There is a custom loop that repeats parts of gpiod_get_array_value_cansleep(). Use that in conjunction with bitmap API to make code shorter and easier to follow. With this done, add an upper check for amount of GPIOs given based on the driver's code. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20251113154616.3107676-4-andriy.shevchenko@linux.intel.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/evdev.c')
0 files changed, 0 insertions, 0 deletions