diff options
author | 2022-02-01 17:27:57 +0200 | |
---|---|---|
committer | 2022-02-08 10:35:59 +0100 | |
commit | 322b86e7a73042300303844c9bc51bf6995a47ef (patch) | |
tree | 8617213c624390837c14382bdc751d3e185910b6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | gpiolib: Introduce for_each_gpio_desc_with_flag() macro (diff) | |
download | wireguard-linux-322b86e7a73042300303844c9bc51bf6995a47ef.tar.xz wireguard-linux-322b86e7a73042300303844c9bc51bf6995a47ef.zip |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions