Thread (50 messages) 50 messages, 10 authors, 2025-02-22

Re: [PATCH v3 01/15] gpiolib: add gpiod_multi_set_value_cansleep()

From: Linus Walleij <hidden>
Date: 2025-02-14 09:22:45
Also in: linux-gpio, linux-iio, linux-mmc, linux-phy, linux-sound, lkml

On Mon, Feb 10, 2025 at 11:37 PM David Lechner [off-list ref] wrote:
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: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help