mirror-linux/include/linux/gpio
David Lechner 91931af18b gpiolib: add gpiod_multi_set_value_cansleep()
Add a new gpiod_multi_set_value_cansleep() helper function with fewer
parameters than gpiod_set_array_value_cansleep().

Calling gpiod_set_array_value_cansleep() can get quite verbose. In many
cases, the first arguments all come from the same struct gpio_descs, so
having a separate function where we can just pass that cuts down on the
boilerplate.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20250210-gpio-set-array-helper-v3-1-d6a673674da8@baylibre.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2025-02-12 10:29:27 +01:00
..
aspeed.h
consumer.h gpiolib: add gpiod_multi_set_value_cansleep() 2025-02-12 10:29:27 +01:00
driver.h gpiolib: unexport gpiochip_get_desc() 2024-07-02 11:40:37 +02:00
gpio-nomadik.h drivers/gpio/nomadik: move dummy nmk_gpio_dbg_show_one() to header 2024-03-12 12:53:35 +01:00
gpio-reg.h
legacy-of-mm-gpiochip.h
machine.h
property.h spi: Updates for v6.10 2024-05-14 14:41:01 -07:00
regmap.h