]> Gentwo Git Trees - linux/.git/commit
leds: Use fwnode_for_each_child_node() instead
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 24 Sep 2025 07:45:59 +0000 (10:45 +0300)
committerLee Jones <lee@kernel.org>
Tue, 21 Oct 2025 09:46:16 +0000 (10:46 +0100)
commit3b6eaa3db567d0f90ef1fc46424a19c23922b0be
tree8abfdbe8d288121906493f501be5d80ce95b6a55
parente39d87fd288c38994f9fcb670423d9c0e481f792
leds: Use fwnode_for_each_child_node() instead

fwnode_for_each_child_node() is now the same as
fwnode_for_each_available_child_node() on all backends (OF, ACPI and
swnode). In order to remove the available variants, switch the uses to
non-available variants.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-max5970.c
drivers/leds/leds-max77705.c
drivers/leds/rgb/leds-ktd202x.c
drivers/leds/rgb/leds-ncp5623.c