Lines Matching refs:cpuid_class
46 static struct class *cpuid_class;
160 dev = device_create(cpuid_class, NULL, MKDEV(CPUID_MAJOR, i), "cpu%d",i);
177 device_destroy(cpuid_class, MKDEV(CPUID_MAJOR, cpu));
199 cpuid_class = class_create(THIS_MODULE, "cpuid");
200 if (IS_ERR(cpuid_class)) {
201 err = PTR_ERR(cpuid_class);
217 device_destroy(cpuid_class, MKDEV(CPUID_MAJOR, i));
219 class_destroy(cpuid_class);
231 device_destroy(cpuid_class, MKDEV(CPUID_MAJOR, cpu));
232 class_destroy(cpuid_class);