Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib-sysfs.c524 static struct class gpio_class = { variable
559 if (!gpio_class.p) { in gpiod_export()
610 dev = device_create_with_groups(&gpio_class, &gdev->dev, in gpiod_export()
661 cdev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_export_link()
693 dev = class_find_device(&gpio_class, NULL, desc, match_export); in gpiod_unexport()
733 if (!gpio_class.p) in gpiochip_sysfs_register()
746 dev = device_create_with_groups(&gpio_class, parent, in gpiochip_sysfs_register()
790 status = class_register(&gpio_class); in gpiolib_sysfs_init()