aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-02-01 17:27:57 +0200
committerBartosz Golaszewski <[email protected]>2022-02-08 10:35:59 +0100
commit322b86e7a73042300303844c9bc51bf6995a47ef (patch)
tree8617213c624390837c14382bdc751d3e185910b6 /scripts/gcc-plugins/randomize_layout_plugin.c
parent80c78fbeef10121a0fbba3fd2ed333f5de118f6d (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 <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions