summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-max5970.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-max5970.c')
-rw-r--r--drivers/leds/leds-max5970.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-max5970.c b/drivers/leds/leds-max5970.c
index 285074c53b23..a1e91a06249c 100644
--- a/drivers/leds/leds-max5970.c
+++ b/drivers/leds/leds-max5970.c
@@ -60,7 +60,7 @@ static int max5970_led_probe(struct platform_device *pdev)
if (!led_node)
return -ENODEV;
- fwnode_for_each_available_child_node(led_node, child) {
+ fwnode_for_each_child_node(led_node, child) {
u32 reg;
if (fwnode_property_read_u32(child, "reg", &reg))