[PATCH 0/3] ACPI property cleanups

From: Sakari Ailus
Date: Wed Oct 01 2025 - 06:43:48 EST


Hello everyone,

This is a small set of ACPI property cleanups.

The previous set including with the tree-wide changes can be found here
<URL:https://lore.kernel.org/linux-acpi/CAJZ5v0gQ9vnT+Z8zryEausp-2xX7HocoBgwmiptxg7BGiU9C8g@xxxxxxxxxxxxxx/T/#t>.

No functional change intended.

since tree-wide set v2
<20250924074602.266292-1-sakari.ailus@xxxxxxxxxxxxxxx>, WRT. this patch:

- Don't use kernel-doc functions to document static functions in .c files.

- Use more robust algorithm for enumerating sub-nodes (thanks to Laurent).

since v1 <20250916160129.3955410-1-sakari.ailus@xxxxxxxxxxxxxxx> (entire
tree-wide set):

- Move patch "ACPI: property: Make acpi_get_next_subnode() static" as
first.

- Add missing parentheses and kernel-doc Return: section in
acpi_get_next_present_subnode() documentation and move the Return
section: of fwnode_graph_get_endpoint_by_id() to the end of the
documentation section (new patch for the latter).

- Use device_get_next_child_node() instead of fwnode_get_next_child_node()
in flash LED driver drivers.

- Rework iterating port nodes in acpi_graph_get_next_endpoint() as
suggested by Andy (new patch).

Sakari Ailus (3):
ACPI: property: Make acpi_get_next_subnode() static
ACPI: property: Use ACPI functions in acpi_graph_get_next_endpoint()
only
ACPI: property: Rework acpi_graph_get_next_endpoint()

drivers/acpi/property.c | 26 +++++++++++++++-----------
include/linux/acpi.h | 10 ----------
2 files changed, 15 insertions(+), 21 deletions(-)

--
2.47.3