Messages in this thread | | | From | Dmitry Torokhov <> | Date | Tue, 31 Jan 2023 15:57:37 -0800 | Subject | Re: [PATCH] rtc: moxart: convert to gpio descriptors |
| |
On Mon, Jan 30, 2023 at 5:29 AM Arnd Bergmann <arnd@kernel.org> wrote: > > From: Arnd Bergmann <arnd@arndb.de> > > 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
| |