[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190902073017.GJ5475@paasikivi.fi.intel.com>
Date: Mon, 2 Sep 2019 10:30:17 +0300
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...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 v3 03/10] device property: Add functions for accessing
node's parents
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_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.
I added a separate patch that just moves it up.
--
Sakari Ailus
sakari.ailus@...ux.intel.com
Powered by blists - more mailing lists