Re: [PATCH] rtc: moxart: convert to gpio descriptors

From: Dmitry Torokhov
Date: Tue Jan 31 2023 - 18:57:59 EST


On Mon, Jan 30, 2023 at 5:29 AM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The conversion is fairly simple as the driver only has DT based
> probing, and all the gpio calls have a direct replacement.

This is plain broken :( You cannot directly replace
of_get_named_gpio() with non-standartly-formatted GPIO name with
devm_gpiod_get().

Thanks.

--
Dmitry