]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: resolver: ad2s1210: use bitmap_write
authorDavid Lechner <dlechner@baylibre.com>
Mon, 10 Feb 2025 22:33:36 +0000 (16:33 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 22 Feb 2025 11:42:50 +0000 (11:42 +0000)
commit66e80e2f21762bdaa56a4d63c79e5aca5f6bd93c
treef0e7f0fe4cd1af4dd1a5dbb088e57a4fc32a3a18
parent76ce6e6e5c4918844f939262b5d440e04fe5009a
iio: resolver: ad2s1210: use bitmap_write

Replace bitmap array access with bitmap_write.

Accessing the bitmap array directly is not recommended and now there is
a helper function that can be used.

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-10-d6a673674da8@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/resolver/ad2s1210.c