]> git.ipfire.org Git - thirdparty/linux.git/commit
media: i2c: max9286: use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 16 Jun 2025 07:18:56 +0000 (09:18 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 17 Jun 2025 08:35:13 +0000 (10:35 +0200)
commit9e2c1e8cfb8e83f891cdc16220adf162a3d93066
tree4dcd9319298813a409e243892216405a8db19892
parent7019a876aeaeffe3853d6d379215c3cc92839f5f
media: i2c: max9286: 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/max9286.c