|
@@ -177,7 +177,7 @@ srg_led_probe(struct i2c_client *client)
|
|
|
|
|
|
|
|
i2c_set_clientdata(client, sysled_ctrl);
|
|
i2c_set_clientdata(client, sysled_ctrl);
|
|
|
|
|
|
|
|
- for_each_child_of_node(np, child) {
|
|
|
|
|
|
|
+ for_each_available_child_of_node(np, child) {
|
|
|
if (srg_led_init_led(sysled_ctrl, child))
|
|
if (srg_led_init_led(sysled_ctrl, child))
|
|
|
continue;
|
|
continue;
|
|
|
|
|
|