Re: [PATCH v2 08/16] property: Document that fwnode API returns available nodes
From: Jonathan Cameron
Date: Mon Sep 29 2025 - 05:44:14 EST
On Wed, 24 Sep 2025 10:45:54 +0300
Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> wrote:
> The fwnode API has historically provided two functions to iterate over a
> fwnode's child nodes, fwnode_get_next_child_node() and
> fwnode_get_next_available_child_node() whereas all of the fwnode API has
> always worked on available nodes, apart unavailable ACPI child device
> nodes could have been returned by fwnode_get_next_child_node().
>
> Now that the availability check has been added to ACPI side as well,
> document that the functions in the fwnode API return available nodes.
>
> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>