diff options
author | 2025-02-20 10:57:01 +0100 | |
---|---|---|
committer | 2025-02-26 11:17:39 +0100 | |
commit | 9b407312755fd5db012413ca005f0f3a661db8dd (patch) | |
tree | 20a68dc19556ab93299286cbf877f2eb569f5617 /drivers/gpio/gpio-regmap.c | |
parent | gpiolib: wrap gpio_chip::set() (diff) | |
download | wireguard-linux-9b407312755fd5db012413ca005f0f3a661db8dd.tar.xz wireguard-linux-9b407312755fd5db012413ca005f0f3a661db8dd.zip |
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 'drivers/gpio/gpio-regmap.c')
0 files changed, 0 insertions, 0 deletions