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