Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: mdio: mux-gpio: use gpiod_multi_set_value_cansleep

Reduce verbosity by using gpiod_multi_set_value_cansleep() instead of
gpiod_set_array_value_cansleep().

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250611-net-mdio-mux-gpio-use-gpiod_multi_set_value_cansleep-v1-1-6eb5281f1b41@baylibre.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

David Lechner and committed by
Jakub Kicinski
ed2cfae6 b549faa9

+1 -2
+1 -2
drivers/net/mdio/mdio-mux-gpio.c
··· 30 30 31 31 values[0] = desired_child; 32 32 33 - gpiod_set_array_value_cansleep(s->gpios->ndescs, s->gpios->desc, 34 - s->gpios->info, values); 33 + gpiod_multi_set_value_cansleep(s->gpios, values); 35 34 36 35 return 0; 37 36 }