Re: [v2 PATCH] PCI: aardvark: switch to using devm_gpiod_get_optional()

From: Dmitry Torokhov
Date: Tue Dec 06 2022 - 20:31:19 EST


On Mon, Nov 14, 2022 at 10:42:25AM -0800, Dmitry Torokhov wrote:
> Switch the driver to the generic version of gpiod API (and away from
> OF-specific variant), so that we can stop exporting
> devm_gpiod_get_from_of_node().
>
> Acked-by: Pali Rohár <pali@xxxxxxxxxx>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
>
> v2:
> - collected reviewed-by/acked-by tags
> - updated commit description to remove incorrect assumption of why
> devm_gpiod_get_from_of_node() was used in the first place
>
> This is the last user of devm_gpiod_get_from_of_node() in the mainline
> (next), it would be great to have it in so that we can remove the API in
> the next release cycle.
>
> Thanks!

Gentle ping on this one... I'd really like to remove
[devm_]gpiod_get_from_of_node() API from 6.2.

Thanks.

--
Dmitry