diff options
author | Kent Gibson <warthog618@gmail.com> | 2022-07-14 05:03:17 +0300 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-07-19 11:01:25 +0300 |
commit | 242202329f0d851f64901111217ca4d52795a4b6 (patch) | |
tree | 914801ec11e20404feb72baec891573ae88bb560 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cfa53463ac62d30e4f30ec6e171b9228689d5a83 (diff) | |
download | linux-242202329f0d851f64901111217ca4d52795a4b6.tar.xz |
gpiolib: cdev: simplify line event identification
Reorganise line event identification code to reduce code duplication,
and replace if-else initializers with a helper function to improve
readability.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions