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

/linux-4.1.27/drivers/hid/
H A Dhid-roccat-pyra.c32 /* pyra_class is used for creating sysfs attributes via roccat char device */
33 static struct class *pyra_class; variable in typeref:struct:class
424 retval = roccat_connect(pyra_class, hdev, pyra_init_specials()
593 pyra_class = class_create(THIS_MODULE, "pyra"); pyra_init()
594 if (IS_ERR(pyra_class)) pyra_init()
595 return PTR_ERR(pyra_class); pyra_init()
596 pyra_class->dev_groups = pyra_groups; pyra_init()
600 class_destroy(pyra_class); pyra_init()
607 class_destroy(pyra_class); pyra_exit()

Completed in 39 milliseconds