Re: [PATCH 2/3] gpiolib: provide gpiod_to_gpio_device()
From: Linus Walleij
Date: Thu Oct 12 2023 - 02:58:05 EST
On Wed, Oct 11, 2023 at 5:39 PM Bartosz Golaszewski
<bartosz.golaszewski@xxxxxxxxxx> wrote:
> The end-goal should be to make gpio_to_desc() an internal GPIOLIB
> symbol. There are still around 10 users outside drivers/gpio/ that
> will need to be addressed in one way or another. Preferably by being
> converted to using descriptors.
Conversely desc_to_gpio() as well, here is one fix for the current
merge window (yeah I keep churning away at this...)
https://lore.kernel.org/alsa-devel/20230926-descriptors-asoc-ti-v1-2-60cf4f8adbc5@xxxxxxxxxx/
Yours,
Linus Walleij