diff options
author | Andy Shevchenko <[email protected]> | 2023-03-09 20:56:26 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2023-03-15 10:47:55 +0100 |
commit | c122f461ccac0e78e8e45d4f6de14e58942572f6 (patch) | |
tree | 6edb7634c04380ec94c9b24a10d0dbf47959a28f /tools/perf/scripts/python/stackcollapse.py | |
parent | 7aa90f9055c16c79c0ad174c726f95723d122fe6 (diff) |
gpiolib: Remove duplicative check in gpiod_find_and_request()
The gpiod_find_by_fwnode() already checks for NULL and returns
correct error code in case fwnode is invalid. Drop the respective
check and assignment in the gpiod_find_and_request().
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions