Re: [PATCH 18/21] gpio: acpi: replace gpiochip_find() with gpio_device_find()

From: Andy Shevchenko
Date: Wed Sep 06 2023 - 10:50:56 EST


On Tue, Sep 05, 2023 at 08:53:06PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> We're porting all users of gpiochip_find() to using gpio_device_find().
> Update the ACPI GPIO code.

...

> - return gpiochip_get_desc(chip, pin);
> + return gpiochip_get_desc(gdev->chip, pin);

gpio_device_get_desc() ?

--
With Best Regards,
Andy Shevchenko