Searched refs:gpio_class (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 544 ATTRIBUTE_GROUPS(gpio_class); 546 static const struct class gpio_class = { variable 575 if (!class_is_registered(&gpio_class)) { in gpiod_export() 621 dev = device_create_with_groups(&gpio_class, &gdev->dev, in gpiod_export() 670 cdev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_export_link() 701 dev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_unexport() 734 if (!class_is_registered(&gpio_class)) in gpiochip_sysfs_register() 753 dev = device_create_with_groups(&gpio_class, parent, MKDEV(0, 0), gdev, in gpiochip_sysfs_register() 817 status = class_register(&gpio_class); in gpiolib_sysfs_init()
|