lkml.org 
[lkml]   [2019]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 03/10] device property: Add functions for accessing node's parents
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.
>
> Also reorder fwnode_get_parent() in property.c according to the same order
> as in property.h.

> +/**
> + * fwnode_get_parent - Return parent firwmare node
> + * @fwnode: Firmware whose parent is retrieved

I guess you may leave this in the same location. The change will be more clear
to review and smaller.

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2019-08-30 14:35    [W:0.156 / U:5.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site