Searched refs:leds_data (Results 1 – 3 of 3) sorted by relevance
138 struct lt3593_led_data *leds_data; in lt3593_led_probe() local144 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() local174 leds_data = platform_get_drvdata(pdev); in lt3593_led_remove()177 delete_lt3593_led(&leds_data[i]); in lt3593_led_remove()
345 struct ns2_led_data leds_data[]; member385 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()
549 struct netxbig_led_data *leds_data; in netxbig_led_probe() local562 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()