Home
last modified time | relevance | path

Searched refs:led_fwnodes (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/leds/
H A Dleds-bd2606mvv.c74 struct fwnode_handle *led_fwnodes[BD2606_MAX_LEDS] = { 0 }; in bd2606mvv_probe() local
102 if (reg < 0 || reg >= BD2606_MAX_LEDS || led_fwnodes[reg]) in bd2606mvv_probe()
106 led_fwnodes[reg] = fwnode_handle_get(child); in bd2606mvv_probe()
117 if (!led_fwnodes[i]) in bd2606mvv_probe()
120 init_data.fwnode = led_fwnodes[i]; in bd2606mvv_probe()
130 fwnode_handle_put(led_fwnodes[j]); in bd2606mvv_probe()
H A Dleds-pca995x.c122 struct fwnode_handle *led_fwnodes[PCA995X_MAX_OUTPUTS] = { 0 }; in pca995x_probe() local
150 if (reg < 0 || reg >= PCA995X_MAX_OUTPUTS || led_fwnodes[reg]) in pca995x_probe()
154 led_fwnodes[reg] = fwnode_handle_get(child); in pca995x_probe()
164 if (!led_fwnodes[i]) in pca995x_probe()
167 init_data.fwnode = led_fwnodes[i]; in pca995x_probe()
174 fwnode_handle_put(led_fwnodes[j]); in pca995x_probe()