]> Gentwo Git Trees - linux/.git/commit
leds: flash: Use fwnode_get_next_child_node() instead
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 24 Sep 2025 07:46:00 +0000 (10:46 +0300)
committerLee Jones <lee@kernel.org>
Tue, 21 Oct 2025 09:46:22 +0000 (10:46 +0100)
commit98888f6d9f53dbd01553de0a60fa4dea35f21962
tree032377776e200769d206e4245304efdc4b86c8ee
parent3b6eaa3db567d0f90ef1fc46424a19c23922b0be
leds: flash: Use fwnode_get_next_child_node() instead

fwnode_get_next_child_node() is now the same as
fwnode_get_next_available_child_node() on all backends (OF, ACPI and
swnode). In order to remove the available variants, switch the uses to
non-available variants (device_get_next_child_node() in this case).

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/flash/leds-rt4505.c
drivers/leds/flash/leds-rt8515.c
drivers/leds/flash/leds-sgm3140.c
drivers/leds/flash/leds-tps6131x.c