Re: [PATCH v4 04/11] device property: Add functions for accessing node's parents

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 03:34:31PM +0300, Sakari Ailus wrote: > Hi Andy, > > On Mon, Sep 02, 2019 at 01:14:26PM +0300, Andy Shevchenko wrote: > > On Mon, Sep 02, 2019 at 11:32:33AM +0300, Sakari Ailus wrote: > > > Add two convenience functions for accessing node's parents: > > > > > >

Re: [PATCH v4 04/11] device property: Add functions for accessing node's parents

2019-09-02 Thread Sakari Ailus
Hi Andy, On Mon, Sep 02, 2019 at 01:14:26PM +0300, Andy Shevchenko wrote: > On Mon, Sep 02, 2019 at 11:32:33AM +0300, Sakari Ailus wrote: > > Add two convenience functions for accessing node's parents: > > > > fwnode_count_parents() returns the number of parent nodes a given node > > has.

Re: [PATCH v4 04/11] device property: Add functions for accessing node's parents

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 11:32:33AM +0300, Sakari Ailus wrote: > Add two convenience functions for accessing node's parents: > > fwnode_count_parents() returns the number of parent nodes a given node > has. fwnode_get_nth_parent() returns node's parent at a given distance > from the node itself. >

[PATCH v4 04/11] device property: Add functions for accessing node's parents

2019-09-02 Thread Sakari Ailus
Add two convenience functions for accessing node's parents: fwnode_count_parents() returns the number of parent nodes a given node has. fwnode_get_nth_parent() returns node's parent at a given distance from the node itself. Signed-off-by: Sakari Ailus --- drivers/base/property.c | 46