aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2019-12-24 13:07:02 +0100
committerBartosz Golaszewski <[email protected]>2020-01-07 12:03:28 +0100
commit2a2cabd8bc1715ceceb9d9566055f4a0a8ff749a (patch)
tree6bcb9982a99ba349929e484ef5fb83b4d135a119 /scripts/gcc-plugins/sancov_plugin.c
parent45e2360480b939173af70a2221ab63ffdaa1d325 (diff)
gpiolib: use gpiochip_get_desc() in gpio_ioctl()
Unduplicate the offset check by simply calling gpiochip_get_desc() and checking its return value. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions