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

/linux-4.1.27/drivers/leds/
H A Dled-class.c25 static struct class *leds_class; variable in typeref:struct:class
231 (dev = class_find_device(leds_class, NULL, name, match_name))) { led_classdev_next_name()
256 led_cdev->dev = device_create_with_groups(leds_class, parent, 0, led_classdev_register()
387 leds_class = class_create(THIS_MODULE, "leds"); leds_init()
388 if (IS_ERR(leds_class)) leds_init()
389 return PTR_ERR(leds_class); leds_init()
390 leds_class->pm = &leds_class_dev_pm_ops; leds_init()
391 leds_class->dev_groups = led_groups; leds_init()
397 class_destroy(leds_class); leds_exit()

Completed in 48 milliseconds