Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/leds/
Dled-class.c25 static struct class *leds_class; variable
237 led_dev = class_find_device_by_of_node(leds_class, led_node); in of_led_get()
317 (dev = class_find_device_by_name(leds_class, name))) { in led_classdev_next_name()
368 led_cdev->dev = device_create_with_groups(leds_class, parent, 0, in led_classdev_register_ext()
527 leds_class = class_create(THIS_MODULE, "leds"); in leds_init()
528 if (IS_ERR(leds_class)) in leds_init()
529 return PTR_ERR(leds_class); in leds_init()
530 leds_class->pm = &leds_class_dev_pm_ops; in leds_init()
531 leds_class->dev_groups = led_groups; in leds_init()
537 class_destroy(leds_class); in leds_exit()