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

/linux-4.4.14/arch/x86/kernel/
H A Dmsr.c46 static struct class *msr_class; variable in typeref:struct:class
209 dev = device_create(msr_class, NULL, MKDEV(MSR_MAJOR, cpu), NULL, msr_device_create()
216 device_destroy(msr_class, MKDEV(MSR_MAJOR, cpu)); msr_device_destroy()
257 msr_class = class_create(THIS_MODULE, "msr"); msr_init()
258 if (IS_ERR(msr_class)) { msr_init()
259 err = PTR_ERR(msr_class); msr_init()
262 msr_class->devnode = msr_devnode; msr_init()
281 class_destroy(msr_class);
295 class_destroy(msr_class); msr_exit()

Completed in 37 milliseconds