Re: [PATCH v3 05/10] device property: Add a function to obtain a node's prefix

2019-09-02 Thread Sakari Ailus
Hi Andy, On Fri, Aug 30, 2019 at 03:46:57PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:10:38PM +0300, Sakari Ailus wrote: > > The prefix is used for printing purpose before a node, and it also works > > as a separator between two nodes. > > > + /* Is this the root node? */ > > +

Re: [PATCH v3 05/10] device property: Add a function to obtain a node's prefix

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:38PM +0300, Sakari Ailus wrote: > The prefix is used for printing purpose before a node, and it also works > as a separator between two nodes. > + /* Is this the root node? */ > + parent = fwnode_get_parent(fwnode); > + if (!parent) > + return

[PATCH v3 05/10] device property: Add a function to obtain a node's prefix

2019-08-29 Thread Sakari Ailus
The prefix is used for printing purpose before a node, and it also works as a separator between two nodes. Signed-off-by: Sakari Ailus Acked-by: Rob Herring (for OF) --- drivers/acpi/property.c | 22 ++ drivers/base/property.c | 12 drivers/base/swnode.c|