[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMRc=Me7Ogsa9qXzwzdS_oWfVXaAYhK4E9onB5FfOO8LAU4pdw@mail.gmail.com>
Date: Thu, 18 Dec 2025 09:31:09 +0100
From: Bartosz Golaszewski <brgl@...nel.org>
To: Rosen Penev <rosenp@...il.com>
Cc: linux-gpio@...r.kernel.org, Linus Walleij <linusw@...nel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] gpio: realtek-otto: use of instead of device handlers
On Wed, Dec 17, 2025 at 9:26 PM Rosen Penev <rosenp@...il.com> wrote:
> >
> > Yeah, no, there's almost *never* a point in using OF-specific accessors. NAK.
>
> Argument made to me on netdev before is it's pointless overhead for an
> OF only driver.
Would you mind posting a lore link? I'll gladly chime in.
Drivers are OF-only until they aren't. Vide: lots of discussions
currently about supporting ARM laptops and servers with mixed DT-ACPI
setup.
The overhead of going through the fwnode pointer is absolutely
negligible while using generic accessors allows taking secondary
fwnodes into account.
Please don't tell me people are going around the kernel converting
drivers to using of_ routines?
Bart
Powered by blists - more mailing lists