]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: resolver: ad2s1210: use gpiod_multi_set_value_cansleep
authorDavid Lechner <dlechner@baylibre.com>
Mon, 10 Feb 2025 22:33:35 +0000 (16:33 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Feb 2025 13:20:45 +0000 (13:20 +0000)
commit76ce6e6e5c4918844f939262b5d440e04fe5009a
tree307a76c910d4ef0ef9cf4a26ec0195d3d7c3a5dc
parenta927e72925c7a8aa2a1cf330c09ce13f4e5b1120
iio: resolver: ad2s1210: use gpiod_multi_set_value_cansleep

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

These are not called in an atomic context, so changing to the cansleep
variant is fine.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250210-gpio-set-array-helper-v3-9-d6a673674da8@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/resolver/ad2s1210.c