extcon: axp288: Convert to new X86 CPU match macros
authorThomas Gleixner <tglx@linutronix.de>
Fri, 20 Mar 2020 13:13:59 +0000 (14:13 +0100)
committerBorislav Petkov <bp@suse.de>
Tue, 24 Mar 2020 20:34:11 +0000 (21:34 +0100)
The new macro set has a consistent namespace and uses C99 initializers
instead of the grufty C89 ones.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lkml.kernel.org/r/20200320131510.075227793@linutronix.de
drivers/extcon/extcon-axp288.c

index a7f216191493095b8766aa35e95023a63debd235..34b7afffac28d847894d8ae9da7b673280c866b7 100644 (file)
@@ -107,7 +107,7 @@ struct axp288_extcon_info {
 };
 
 static const struct x86_cpu_id cherry_trail_cpu_ids[] = {
-       { X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_AIRMONT, X86_FEATURE_ANY },
+       X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT,        NULL),
        {}
 };