]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: ucb1x00: Use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Apr 2025 07:24:15 +0000 (09:24 +0200)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:48:13 +0000 (08:48 +0100)
commitcf5c739af8ff024a211ece4381ea71874428607b
treecf2f7d401eff9e3b959600bb712567c5a9164350
parent651974212cacef4ad24c4f97d52b6761f2219e96
mfd: ucb1x00: 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>
Link: https://lore.kernel.org/r/20250407-gpiochip-set-rv-mfd-v1-3-43f4d86d01d1@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/ucb1x00-core.c