Lines Matching refs:ldev
21 struct led_classdev ldev;
54 static void dac124s085_set_brightness(struct led_classdev *ldev,
57 struct dac124s085_led *led = container_of(ldev, struct dac124s085_led,
58 ldev);
87 led->ldev.name = led->name;
88 led->ldev.brightness = LED_OFF;
89 led->ldev.max_brightness = 0xfff;
90 led->ldev.brightness_set = dac124s085_set_brightness;
91 ret = led_classdev_register(&spi->dev, &led->ldev);
102 led_classdev_unregister(&dac->leds[i].ldev);
115 led_classdev_unregister(&dac->leds[i].ldev);