Home
last modified time | relevance | path

Searched refs:leds_data (Results 1 – 3 of 3) sorted by relevance

/drivers/leds/
Dleds-lt3593.c138 struct lt3593_led_data *leds_data; in lt3593_led_probe() local
144 leds_data = devm_kzalloc(&pdev->dev, in lt3593_led_probe()
147 if (!leds_data) in lt3593_led_probe()
151 ret = create_lt3593_led(&pdata->leds[i], &leds_data[i], in lt3593_led_probe()
157 platform_set_drvdata(pdev, leds_data); in lt3593_led_probe()
163 delete_lt3593_led(&leds_data[i]); in lt3593_led_probe()
172 struct lt3593_led_data *leds_data; in lt3593_led_remove() local
174 leds_data = platform_get_drvdata(pdev); in lt3593_led_remove()
177 delete_lt3593_led(&leds_data[i]); in lt3593_led_remove()
Dleds-ns2.c345 struct ns2_led_data leds_data[]; member
385 ret = create_ns2_led(pdev, &priv->leds_data[i], in ns2_led_probe()
389 delete_ns2_led(&priv->leds_data[i]); in ns2_led_probe()
407 delete_ns2_led(&priv->leds_data[i]); in ns2_led_remove()
Dleds-netxbig.c549 struct netxbig_led_data *leds_data; in netxbig_led_probe() local
562 leds_data = devm_kzalloc(&pdev->dev, in netxbig_led_probe()
563 pdata->num_leds * sizeof(*leds_data), in netxbig_led_probe()
565 if (!leds_data) in netxbig_led_probe()
574 &leds_data[i], &pdata->leds[i]); in netxbig_led_probe()