Re: [PATCH v2 1/6] device property: Add functions for accessing node's parents

From: Andy Shevchenko
Date: Fri Mar 29 2019 - 10:14:25 EST


On Fri, Mar 29, 2019 at 03:04:36PM +0200, Sakari Ailus wrote:
> On Thu, Mar 28, 2019 at 03:10:36PM +0100, Petr Mladek wrote:

> You basically have to have a reference to a node until you're done
> accessing it. The refcounting in the fwnode framework is based on the OF
> API --- otherwise you couldn't access OF nodes using the framework.

> ACPI
> does not have those (as you can't dynamically remove nodes).

What about configfs where we can load / unload tables at run time?

> The newly
> added swnode does have refcounting of individual nodes as well.

--
With Best Regards,
Andy Shevchenko