Re: [PATCH v2 08/11] gpio: of: replace gpiochip_find_* with gpio_device_find_*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 12, 2023 at 12:07:24PM +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 OF GPIO code.

...

> +	desc = of_xlate_and_get_gpiod_flags(gdev->chip, &gpiospec, flags);

> +		ret = of_gpiochip_add_hog(gpio_device_get_chip(gdev), rd->dn);

> +		of_gpiochip_remove_hog(gpio_device_get_chip(gdev), rd->dn);

Find the difference in the first parameter in all three.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux