Bartosz Golaszewski
d9d87d90cc
treewide: rename GPIO set callbacks back to their original names
...
The conversion of all GPIO drivers to using the .set_rv() and
.set_multiple_rv() callbacks from struct gpio_chip (which - unlike their
predecessors - return an integer and allow the controller drivers to
indicate failures to users) is now complete and the legacy ones have
been removed. Rename the new callbacks back to their original names in
one sweeping change.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2025-08-07 10:07:06 +02:00
Bartosz Golaszewski
97c9b59f66
gpio: max77650: use value returning setters
...
struct gpio_chip now has additional variants of the set(_multiple)
driver callbacks that return an integer to indicate success or failure.
Convert the driver to using them.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com >
Link: https://lore.kernel.org/r/20250220-gpio-set-retval-v2-11-bc4cfd38dae3@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
2025-02-26 11:17:40 +01:00
Bartosz Golaszewski
a299726da4
gpio: max77650: add MODULE_ALIAS()
...
Define a MODULE_ALIAS() in the gpio sub-driver for max77650 so that
the appropriate module gets loaded together with the core mfd driver.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Link: https://lore.kernel.org/r/20190703084601.9276-1-brgl@bgdev.pl
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2019-07-29 00:03:52 +02:00
Bartosz Golaszewski
72b5135bc3
gpio: max77650: Add GPIO support
...
Add GPIO support for max77650 mfd device. This PMIC exposes a single
GPIO line.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2019-05-08 12:06:58 +01:00