Searched refs:msr_class (Results 1 – 1 of 1) sorted by relevance
42 static struct class *msr_class; variable242 dev = device_create(msr_class, NULL, MKDEV(MSR_MAJOR, cpu), NULL, in msr_device_create()249 device_destroy(msr_class, MKDEV(MSR_MAJOR, cpu)); in msr_device_destroy()266 msr_class = class_create(THIS_MODULE, "msr"); in msr_init()267 if (IS_ERR(msr_class)) { in msr_init()268 err = PTR_ERR(msr_class); in msr_init()271 msr_class->devnode = msr_devnode; in msr_init()281 class_destroy(msr_class); in msr_init()291 class_destroy(msr_class); in msr_exit()