[PATCH 00/15] gpio: convert more drivers to using the new value setters
Bartosz Golaszewski
brgl at bgdev.pl
Mon Mar 3 05:18:25 PST 2025
New variants of set() and set_multiple() callbacks allow drivers to
indicate failures back to callers. Convert more GPIO drivers to using
them as the old ones are now deprecated.
This series also contains some additional refactoring to the affected
drivers wherever it makes the conversion easier.
To:
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
---
Bartosz Golaszewski (15):
gpio: 74x164: use new line value setter callbacks
gpio: adnp: use lock guards for the I2C lock
gpio: adnp: use devm_mutex_init()
gpio: adnp: use new line value setter callbacks
gpio: adp5520: use new line value setter callbacks
gpio: adp5585: use new line value setter callbacks
gpio: altera-a10sr: use new line value setter callbacks
gpio: altera: use new line value setter callbacks
gpio: amd8111: use new line value setter callbacks
gpio: amd-fch: use new line value setter callbacks
gpio: arizona: use new line value setter callbacks
gpio: aspeed: use lock guards
gpio: aspeed: use new line value setter callbacks
gpio: aspeed-sgpio: use lock guards
gpio: aspeed-sgpio: use new line value setter callbacks
drivers/gpio/gpio-74x164.c | 16 ++---
drivers/gpio/gpio-adnp.c | 136 +++++++++++++++++----------------------
drivers/gpio/gpio-adp5520.c | 12 ++--
drivers/gpio/gpio-adp5585.c | 10 +--
drivers/gpio/gpio-altera-a10sr.c | 14 ++--
drivers/gpio/gpio-altera.c | 6 +-
drivers/gpio/gpio-amd-fch.c | 7 +-
drivers/gpio/gpio-amd8111.c | 6 +-
drivers/gpio/gpio-arizona.c | 9 +--
drivers/gpio/gpio-aspeed-sgpio.c | 82 +++++++++--------------
drivers/gpio/gpio-aspeed.c | 108 ++++++++++++-------------------
11 files changed, 177 insertions(+), 229 deletions(-)
---
base-commit: 9778568dede2166c7bd124d473f9ec365f782935
change-id: 20250303-gpiochip-set-conversion-736fb6548975
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
More information about the linux-arm-kernel
mailing list