Searched refs:nproot (Results 1 – 4 of 4) sorted by relevance
118 struct device_node *nproot, *np; in pm860x_led_dt_init() local123 nproot = of_get_child_by_name(pdev->dev.parent->of_node, "leds"); in pm860x_led_dt_init()124 if (!nproot) { in pm860x_led_dt_init()128 for_each_child_of_node(nproot, np) { in pm860x_led_dt_init()137 of_node_put(nproot); in pm860x_led_dt_init()
165 struct device_node *nproot, *np; in pm860x_backlight_dt_init() local168 nproot = of_get_child_by_name(pdev->dev.parent->of_node, "backlights"); in pm860x_backlight_dt_init()169 if (!nproot) { in pm860x_backlight_dt_init()173 for_each_child_of_node(nproot, np) { in pm860x_backlight_dt_init()184 of_node_put(nproot); in pm860x_backlight_dt_init()
103 struct device_node *nproot = pdev->dev.parent->of_node, *np; in max8925_backlight_dt_init() local107 if (!nproot || !IS_ENABLED(CONFIG_OF)) in max8925_backlight_dt_init()116 np = of_get_child_by_name(nproot, "backlight"); in max8925_backlight_dt_init()
456 struct device_node *nproot = pdev->dev.parent->of_node; in max8925_power_dt_init() local465 if (!nproot) in max8925_power_dt_init()468 np = of_get_child_by_name(nproot, "charger"); in max8925_power_dt_init()