]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: sm501: Use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Apr 2025 07:24:13 +0000 (09:24 +0200)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:48:11 +0000 (08:48 +0100)
commit3745b5ca35298885035fd5e3a133be7292cbe2fc
treedf24d3aa0ce91623412e6fa9ef855b80aa504182
parentba1a455393c430c97235cb593d40a3ea7ad8acca
mfd: sm501: 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-1-43f4d86d01d1@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/sm501.c