MSR_MAJOR 166 arch/x86/kernel/msr.c dev = device_create_drvdata(msr_class, NULL, MKDEV(MSR_MAJOR, cpu), MSR_MAJOR 173 arch/x86/kernel/msr.c device_destroy(msr_class, MKDEV(MSR_MAJOR, cpu)); MSR_MAJOR 204 arch/x86/kernel/msr.c if (register_chrdev(MSR_MAJOR, "cpu/msr", &msr_fops)) { MSR_MAJOR 206 arch/x86/kernel/msr.c MSR_MAJOR); MSR_MAJOR 231 arch/x86/kernel/msr.c unregister_chrdev(MSR_MAJOR, "cpu/msr"); MSR_MAJOR 242 arch/x86/kernel/msr.c unregister_chrdev(MSR_MAJOR, "cpu/msr");