diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-04-16 12:55:12 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2025-04-17 15:22:05 +0200 |
| commit | df6dccb4aeab5f19c8451d960259fd1d911f3129 (patch) | |
| tree | a8b5821a50d423a695626f72db2d996d71254028 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | gpiolib: Print actual error when descriptor contains an error pointer (diff) | |
| download | linux-df6dccb4aeab5f19c8451d960259fd1d911f3129.tar.gz linux-df6dccb4aeab5f19c8451d960259fd1d911f3129.zip | |
gpiolib: Revert "Don't WARN on gpiod_put() for optional GPIO"
No need to double check the pointer for NULL since gpiod_free()
is using VALIDATE_DESC_VOID() which simply returns in that case.
This reverts commit 1d7765ba15aca68f3bc52f59434c1c34855bbb54.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250416095645.2027695-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
