summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-12-24 15:07:01 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-01-07 14:03:28 +0300
commit45e2360480b939173af70a2221ab63ffdaa1d325 (patch)
tree20481fb521def3d96855c87b135d07dd035c9f26 /tools/perf/scripts/python/exported-sql-viewer.py
parent0f41dabe45df9fe68d3207c5b7af905db7c00ce4 (diff)
downloadlinux-45e2360480b939173af70a2221ab63ffdaa1d325.tar.xz
gpiolib: use gpiochip_get_desc() in lineevent_create()
Unduplicate the ngpio check by simply calling gpiochip_get_desc() and checking its return value. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions