[PATCH v2 09/12] gpio: reg: use new GPIO line value setter callbacks

Bartosz Golaszewski brgl at bgdev.pl
Thu Jun 19 07:34:19 PDT 2025


On Thu, Jun 19, 2025 at 10:33 AM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
>
> From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
>
> 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 at linaro.org>
> ---

Ah dang it, this is still not enough as there are users under
arch/arm/ that scoop out the gpio_chip and call its set_multiple()
callback directly. Next week, I'll just apply other patches from that
series and resend this one corrected separately.

Bartosz



More information about the linux-arm-kernel mailing list