[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181112150546.GC1677@kuha.fi.intel.com>
Date: Mon, 12 Nov 2018 17:05:46 +0200
From: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
To: Rob Herring <robh@...nel.org>
Cc: andriy.shevchenko@...ux.intel.com,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
mika.westerberg@...ux.intel.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-acpi@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v2 3/4] of/property: Add of_fwnode_name()
Hi,
On Fri, Nov 09, 2018 at 10:14:49AM -0600, Rob Herring wrote:
> > I would prefer that we had something like of_node_name_get() function
> > that of_fwnode_get_name() could simply call. I don't know how you want
> > that implemented, but I'm expecting you will implement something like
> > that in any case once you start removing that ->name member. I figured
> > that at that point we can update of_fwnode_get_name() as well.
>
> I don't plan to implement anything like that. Here's what I'm planning:
> https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/log/?h=dt/testing
>
> Which is eliminating the need to access .name by: using %pOFn (mostly
> in 4.20), using of_node_name_eq() wrapper, or using full_name instead.
> The last case generally is cases where the name is not important such
> as request_irq() or irq_chip.name.
OK. Thanks for the explanation.
thanks,
--
heikki
Powered by blists - more mailing lists