]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: max96717: use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 16 Jun 2025 07:18:55 +0000 (09:18 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 17 Jun 2025 08:35:13 +0000 (10:35 +0200)
commit7019a876aeaeffe3853d6d379215c3cc92839f5f
treeb2961d098121828e661bd95bac450f7e10704fbf
parent94a45a567a2237239f07dc81d03f840e3a6d5d30
media: i2c: max96717: use new GPIO line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/max96717.c