diff options
author | Kent Gibson <warthog618@gmail.com> | 2020-10-29 09:48:32 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-10-30 15:53:19 +0100 |
commit | 5e2ca893d772560a0926a31b88f8c83efbc6b058 (patch) | |
tree | 762fa8aa72e1e30e968942bac5abedafedf49580 /drivers/gpio/gpio-tps65912.c | |
parent | gpio: mockup: Allow probing from device tree (diff) | |
download | linux-5e2ca893d772560a0926a31b88f8c83efbc6b058.tar.xz linux-5e2ca893d772560a0926a31b88f8c83efbc6b058.zip |
gpiolib: cdev: add GPIO_V2_LINE_FLAG_EDGE_BOTH and use it in edge_irq_thread()
Add GPIO_V2_LINE_FLAG_EDGE_BOTH macro and use it in edge_irq_thread() to
improve readability of edge handling cases.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-tps65912.c')
0 files changed, 0 insertions, 0 deletions