Lines Matching refs:ldev
65 #define ldev_to_led(c) container_of(c, struct lp3944_led_data, ldev)
72 struct led_classdev ldev;
182 __func__, led->ldev.name, status);
218 __func__, led->ldev.name, reg, id, status, val);
322 led->ldev.name = pled->name;
323 led->ldev.max_brightness = 1;
324 led->ldev.brightness_set = lp3944_led_set_brightness;
325 led->ldev.blink_set = lp3944_led_set_blink;
326 led->ldev.flags = LED_CORE_SUSPENDRESUME;
329 err = led_classdev_register(&client->dev, &led->ldev);
333 led->ldev.name);
338 led->ldev.brightness = led->status;
345 led->ldev.name, led->status);
365 led_classdev_unregister(&data->leds[i].ldev);
425 led_classdev_unregister(&data->leds[i].ldev);