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 /drivers/accessibility | |
parent | 80c78fbeef10121a0fbba3fd2ed333f5de118f6d (diff) | |
download | linux-stable-322b86e7a73042300303844c9bc51bf6995a47ef.tar.gz linux-stable-322b86e7a73042300303844c9bc51bf6995a47ef.tar.bz2 linux-stable-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 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions