Home
last modified time | relevance | path

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

/drivers/leds/
Dled-class.c24 static struct class *leds_class; variable
227 (dev = class_find_device_by_name(leds_class, name))) { in led_classdev_next_name()
273 led_cdev->dev = device_create_with_groups(leds_class, parent, 0, in led_classdev_register_ext()
430 leds_class = class_create(THIS_MODULE, "leds"); in leds_init()
431 if (IS_ERR(leds_class)) in leds_init()
432 return PTR_ERR(leds_class); in leds_init()
433 leds_class->pm = &leds_class_dev_pm_ops; in leds_init()
434 leds_class->dev_groups = led_groups; in leds_init()
440 class_destroy(leds_class); in leds_exit()