]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: max3191x: use gpiod_multi_set_value_cansleep
authorDavid Lechner <dlechner@baylibre.com>
Mon, 10 Feb 2025 22:33:32 +0000 (16:33 -0600)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 12 Feb 2025 09:36:40 +0000 (10:36 +0100)
commiteb2e9c308d2882d9d364af048eb3d8336d41c4bb
treede5a24da2d346a68fff0bc7a15d83d996d888187
parente6aaeffeafe669a8815337ee1137b6b7d24c75a3
gpio: max3191x: use gpiod_multi_set_value_cansleep

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

Also add max3191x_ namespace prefix to the driver's helper function
since we are changing the function signature anyway.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250210-gpio-set-array-helper-v3-6-d6a673674da8@baylibre.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-max3191x.c