Searched refs:gpio_class (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpio/ |
A D | gpiolib-sysfs.c | 542 ATTRIBUTE_GROUPS(gpio_class); 544 static struct class gpio_class = { variable 579 if (!gpio_class.p) { in gpiod_export() 630 dev = device_create_with_groups(&gpio_class, &gdev->dev, in gpiod_export() 681 cdev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_export_link() 713 dev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_unexport() 753 if (!gpio_class.p) in gpiochip_sysfs_register() 766 dev = device_create_with_groups(&gpio_class, parent, MKDEV(0, 0), chip, in gpiochip_sysfs_register() 809 status = class_register(&gpio_class); in gpiolib_sysfs_init()
|
Completed in 5 milliseconds