x86: coding style fixes to arch/x86/kernel/cpu/umc.c
[sfrench/cifs-2.6.git] / arch / x86 / kernel / cpu / umc.c
index a7a4e75bdcd71e7d33a5cd7a45cbcc4646c0782d..b1fc90989d75ac132324e8f8301ff9bb553beea4 100644 (file)
@@ -3,24 +3,23 @@
 #include <asm/processor.h>
 #include "cpu.h"
 
-/* UMC chips appear to be only either 386 or 486, so no special init takes place.
+/*
+ * UMC chips appear to be only either 386 or 486,
+ * so no special init takes place.
  */
 
 static struct cpu_dev umc_cpu_dev __cpuinitdata = {
        .c_vendor       = "UMC",
-       .c_ident        = { "UMC UMC UMC" },
+       .c_ident        = { "UMC UMC UMC" },
        .c_models = {
                { .vendor = X86_VENDOR_UMC, .family = 4, .model_names =
-                 { 
-                         [1] = "U5D", 
-                         [2] = "U5S", 
+                 {
+                         [1] = "U5D",
+                         [2] = "U5S",
                  }
                },
        },
 };
 
-int __init umc_init_cpu(void)
-{
-       cpu_devs[X86_VENDOR_UMC] = &umc_cpu_dev;
-       return 0;
-}
+cpu_vendor_dev_register(X86_VENDOR_UMC, &umc_cpu_dev);
+