diff options
author | 2023-03-09 20:56:26 +0200 | |
---|---|---|
committer | 2023-03-15 10:47:55 +0100 | |
commit | c122f461ccac0e78e8e45d4f6de14e58942572f6 (patch) | |
tree | 6edb7634c04380ec94c9b24a10d0dbf47959a28f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpiolib: Move gpiodevice_*() to gpiodev namespace (diff) | |
download | wireguard-linux-c122f461ccac0e78e8e45d4f6de14e58942572f6.tar.xz wireguard-linux-c122f461ccac0e78e8e45d4f6de14e58942572f6.zip |
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 <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions