aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2019-12-24 13:07:00 +0100
committerBartosz Golaszewski <[email protected]>2020-01-07 12:03:28 +0100
commit0f41dabe45df9fe68d3207c5b7af905db7c00ce4 (patch)
tree8a91e2328784e3165876ff69b1fff69283ce0cb4 /scripts/gcc-plugins/structleak_plugin.c
parent06863620edfeadbe9e0ea5eb01dd94ce07f37549 (diff)
gpiolib: use gpiochip_get_desc() in linehandle_create()
Unduplicate the ngpio 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/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions