Skip to content

leds: Introduce and use fwnode_get_child_node_count()

Andy Shevchenko linux-acpi linux-leds linux-usb lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 19 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4device property: Split fwnode_get_child_node_count()drivers/base/property.c include/linux/property.h+12 -76 replies
2/4leds: pwm-multicolor: Use fwnode_get_child_node_count()drivers/leds/rgb/leds-pwm-multicolor.c+3 -41 reply
3/4leds: ncp5623: Use fwnode_get_child_node_count()drivers/leds/rgb/leds-ncp5623.c+2 -32 replies
4/4usb: typec: tcpm: Use fwnode_get_child_node_count()drivers/usb/typec/tcpm/tcpm.c+2 -43 replies

Reviews trailers per patch

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

PatchJonathan CameronKyle TsoHeikki KrogerusSakari AilusRafael J. Wysocki
1/4R-b R-b R-b A-b
2/4R-b
3/4R-b
4/4R-b A-b R-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 5 reviewers.

Read the v1 thread

Cover letter [PATCH v1 0/4] leds: Introduce and use fwnode_get_child_node_count()

This series was inspired during review of "Support ROHM BD79124 ADC" [1]. The three conversion patches are the examples of the new API in use.

Since the first two examples of LEDS, in case of posotove response it may be routed via that tree and immutable branch/tag shared with others, e.g., IIO which Matti's series is targeting and might be dependent on. The USB patch can be applied later separately, up to the respective maintainers.

Andy Shevchenko (4):
device property: Split fwnode_get_child_node_count()
leds: pwm-multicolor: Use fwnode_get_child_node_count()
leds: ncp5623: Use fwnode_get_child_node_count()
usb: typec: tcpm: Use fwnode_get_child_node_count()

 drivers/base/property.c                | 12 ++++++------
 drivers/leds/rgb/leds-ncp5623.c        |  5 ++---
 drivers/leds/rgb/leds-pwm-multicolor.c |  7 +++----
 drivers/usb/typec/tcpm/tcpm.c          |  6 ++----
 include/linux/property.h               |  7 ++++++-
 5 files changed, 19 insertions(+), 18 deletions(-)
Signature · 1 line
2.47.2