Thread (87 messages) 87 messages, 9 authors, 2024-01-24

Re: [PATCH 10/21] gpiolib: replace find_chip_by_name() with gpio_device_find_by_label()

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2023-09-06 14:23:46
Also in: linux-acpi, linux-gpio, linux-omap, linux-tegra, lkml, platform-driver-x86

On Tue, Sep 05, 2023 at 08:52:58PM +0200, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <redacted>

Remove all remaining uses of find_chip_by_name() (and subsequently:
gpiochip_find()) from gpiolib.c and use the new
gpio_device_find_by_label() instead.
...
-		desc = gpiochip_get_desc(gc, p->chip_hwnum);
+		desc = gpiochip_get_desc(gdev->chip, p->chip_hwnum);
Why not gpio_device_get_desc()?


-- 
With Best Regards,
Andy Shevchenko



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help