Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-30 Thread Rob Herring
On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > 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 > --- > drivers/acpi/property.c | 22 ++ > drivers/base/property.c |

Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-28 Thread Sakari Ailus
On Wed, Mar 27, 2019 at 01:36:59PM +0100, Petr Mladek wrote: > On Tue 2019-03-26 15:32:48, Sakari Ailus wrote: > > Hi Andy, > > > > On Tue, Mar 26, 2019 at 03:16:26PM +0200, Andy Shevchenko wrote: > > > On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > > > > The prefix is used for pr

Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-27 Thread Petr Mladek
On Tue 2019-03-26 15:32:48, Sakari Ailus wrote: > Hi Andy, > > On Tue, Mar 26, 2019 at 03:16:26PM +0200, Andy Shevchenko wrote: > > On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > > > The prefix is used for printing purpose before a node, and it also works > > > as a separator betw

Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-26 Thread Sakari Ailus
Hi Andy, On Tue, Mar 26, 2019 at 03:16:26PM +0200, Andy Shevchenko wrote: > On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > > The prefix is used for printing purpose before a node, and it also works > > as a separator between two nodes. > > > > One nit below. > > > +static const

Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-26 Thread Andy Shevchenko
On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > The prefix is used for printing purpose before a node, and it also works > as a separator between two nodes. > One nit below. > +static const char * > +acpi_fwnode_get_name_prefix(const struct fwnode_handle *fwnode) > +{ > + str

[PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-26 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 --- drivers/acpi/property.c | 22 ++ drivers/base/property.c | 12 drivers/of/property.c| 10 ++ include/linux/fwn