[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190830124235.GD2680@smile.fi.intel.com>
Date: Fri, 30 Aug 2019 15:42:35 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Sakari Ailus <sakari.ailus@...ux.intel.com>
Cc: Petr Mladek <pmladek@...e.com>, linux-kernel@...r.kernel.org,
rafael@...nel.org, linux-acpi@...r.kernel.org,
devicetree@...r.kernel.org, Rob Herring <robh@...nel.org>
Subject: Re: [PATCH v4 03/10] device property: Add functions for accessing
node's parents
On Thu, Aug 29, 2019 at 01:44:01PM +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.
Same comment as per previous version.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists