diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-01 17:27:57 +0200 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-02-08 10:35:59 +0100 |
commit | 322b86e7a73042300303844c9bc51bf6995a47ef (patch) | |
tree | 8617213c624390837c14382bdc751d3e185910b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 80c78fbeef10121a0fbba3fd2ed333f5de118f6d (diff) |
gpiolib: Use short form of ternary operator in gpiod_get_index()
Instead of repeating first argument for true branch, use short
form of the ternary operator, i.e. ?:.
While at it, fix a typo in the comment.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions