[PATCH 0/1] Add node availability check for child node iteration on ACPI fwnode backend

Sakari Ailus posted 1 patch 4 months, 1 week ago
drivers/acpi/property.c | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
[PATCH 0/1] Add node availability check for child node iteration on ACPI fwnode backend
Posted by Sakari Ailus 4 months, 1 week ago
Hello everyone,

This patch adds device node availability check to the child device node
iteration in the ACPI fwnode backend.

The previous set including with the tree-wide changes can be found here
<URL:https://lore.kernel.org/linux-acpi/CAJZ5v0gQ9vnT+Z8zryEausp-2xX7HocoBgwmiptxg7BGiU9C8g@mail.gmail.com/T/#t>.
I'll post the other bits separately as they'll be merged at different
moments. The rest of the ACPI changes can also wait until v6.19.

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

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

- Add empty lines between sections within a now non-kernel-doc comment.

since v1 <20250916160129.3955410-1-sakari.ailus@linux.intel.com> (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 (1):
  ACPI: property: Return present device nodes only on fwnode interface

 drivers/acpi/property.c | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

-- 
2.47.3