[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKdAkRRnjdsQC_4qsjtHY1FfuPZ9vmV6gjDOeCzp7CZQATcUrw@mail.gmail.com>
Date: Tue, 31 Jan 2023 15:57:37 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Arnd Bergmann <arnd@...db.de>, linux-rtc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: moxart: convert to gpio descriptors
On Mon, Jan 30, 2023 at 5:29 AM Arnd Bergmann <arnd@...nel.org> wrote:
>
> From: Arnd Bergmann <arnd@...db.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
Powered by blists - more mailing lists