Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/vme_user/
H A Dvme_user.c104 static struct class *vme_user_sysfs_class; /* Sysfs class */ variable
617 vme_user_sysfs_class = class_create(driver_name); in vme_user_probe()
618 if (IS_ERR(vme_user_sysfs_class)) { in vme_user_probe()
620 err = PTR_ERR(vme_user_sysfs_class); in vme_user_probe()
644 image[i].device = device_create(vme_user_sysfs_class, NULL, in vme_user_probe()
659 device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i)); in vme_user_probe()
661 class_destroy(vme_user_sysfs_class); in vme_user_probe()
699 device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i)); in vme_user_remove()
701 class_destroy(vme_user_sysfs_class); in vme_user_remove()