Re: [PATCH 04/12] gpio: exar: use new line value setter callbacks
From: Andy Shevchenko
Date: Mon Apr 07 2025 - 04:52:28 EST
On Mon, Apr 07, 2025 at 09:13:13AM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> struct gpio_chip now has callbacks for setting line values that return
> an integer, allowing to indicate failures. Convert the driver to using
> them.
...
> -static void exar_set_value(struct gpio_chip *chip, unsigned int offset,
> - int value)
> +static int exar_set_value(struct gpio_chip *chip, unsigned int offset,
> + int value)
It can be located on one line (81 characters).
--
With Best Regards,
Andy Shevchenko