diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-20 10:57:01 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-26 11:17:39 +0100 |
commit | 9b407312755fd5db012413ca005f0f3a661db8dd (patch) | |
tree | 20a68dc19556ab93299286cbf877f2eb569f5617 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d36058b89a4aa30865d4cfeb101bbfd1d1dcb22f (diff) |
gpiolib: rework the wrapper around gpio_chip::set_multiple()
Make the existing wrapper around gpio_chip::set_multiple() consistent
with the one for gpio_chip::set(): make it return int, add a lockdep
assertion, warn on missing set callback and move the code a bit for
better readability.
Add return value checks in all call places.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20250220-gpio-set-retval-v2-4-bc4cfd38dae3@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions