Lines Matching refs:child
159 struct fwnode_handle *child; in gpio_leds_create() local
171 device_for_each_child_node(dev, child) { in gpio_leds_create()
175 struct device_node *np = to_of_node(child); in gpio_leds_create()
177 led.gpiod = devm_get_gpiod_from_child(dev, NULL, child); in gpio_leds_create()
179 fwnode_handle_put(child); in gpio_leds_create()
183 ret = fwnode_property_read_string(child, "label", &led.name); in gpio_leds_create()
187 fwnode_handle_put(child); in gpio_leds_create()
191 fwnode_property_read_string(child, "linux,default-trigger", in gpio_leds_create()
194 if (!fwnode_property_read_string(child, "default-state", in gpio_leds_create()
204 if (fwnode_property_present(child, "retain-state-suspended")) in gpio_leds_create()
206 if (fwnode_property_present(child, "panic-indicator")) in gpio_leds_create()
211 fwnode_handle_put(child); in gpio_leds_create()