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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Wed Sep 6 07:50:43 PDT 2023


On Tue, Sep 05, 2023 at 08:53:06PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
> 
> 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





More information about the linux-arm-kernel mailing list