Skip to content

ACPI property cleanups

Sakari Ailus linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ACPI: property: Make acpi_get_next_subnode() staticdrivers/acpi/property.c include/linux/acpi.h+4 -130 replies
2/3ACPI: property: Use ACPI functions in acpi_graph_get_next_endpoint() onlydrivers/acpi/property.c+4 -40 replies
3/3ACPI: property: Rework acpi_graph_get_next_endpoint()drivers/acpi/property.c+10 -71 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchLaurent PinchartJonathan CameronAndy Shevchenko
1/3R-b R-b R-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] ACPI property cleanups

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@mail.gmail.com/T/#t>.

No functional change intended.

since tree-wide set v2 <[email protected]>, 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 <[email protected]> (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(-)
Signature · 1 line
2.47.3