]> www.infradead.org Git - users/dwmw2/linux.git/commit
hwmon: (pmbus/ucd9000) Use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Apr 2025 07:16:17 +0000 (09:16 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Apr 2025 14:18:27 +0000 (07:18 -0700)
commit9c47e45de1f7633bd3bbf54bf36cd9a385db2232
treecf10bc1c36f97a77a1ba4cdaef6688d046859c75
parente894b6442a9692dd55f01c4edccee459163665a4
hwmon: (pmbus/ucd9000) 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-hwmon-v1-2-1fa38f34dc07@linaro.org
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ucd9000.c