Re: [PATCH v3 03/10] device property: Add functions for accessing node's parents

2019-09-02 Thread Sakari Ailus
On Fri, Aug 30, 2019 at 03:34:48PM +0300, Andy Shevchenko wrote: > On Thu, Aug 29, 2019 at 01:10:36PM +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_pa

Re: [PATCH v3 03/10] device property: Add functions for accessing node's parents

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:36PM +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 v3 03/10] device property: Add functions for accessing node's parents

2019-08-29 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. Also reorder fwnode_get_parent() in property.c according to the same orde