Re: [PATCH v2 02/16] ACPI: property: Use ACPI functions in acpi_graph_get_next_endpoint() only
From: Jonathan Cameron
Date: Mon Sep 29 2025 - 05:12:04 EST
On Wed, 24 Sep 2025 10:45:48 +0300
Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> wrote:
> Calling fwnode_get_next_child_node() in ACPI implementation of the fwnode
> property API is somewhat problematic as the latter is used in the
> impelementation of the former. Instead of using
> fwnode_get_next_child_node() in acpi_graph_get_next_endpoint(), call
> acpi_get_next_subnode() directly instead.
>
> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
Makes sense to me on simply basis of making reasoning about it a little simpler.
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>