Skip to content

Commit 20d320c

Browse files
KAGA-KOKOsuryasaimadhu
authored andcommitted
extcon: axp288: Convert to new X86 CPU match macros
The new macro set has a consistent namespace and uses C99 initializers instead of the grufty C89 ones. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 9c51044 commit 20d320c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/extcon/extcon-axp288.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ struct axp288_extcon_info {
107107
};
108108

109109
static const struct x86_cpu_id cherry_trail_cpu_ids[] = {
110-
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_AIRMONT, X86_FEATURE_ANY },
110+
X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT, NULL),
111111
{}
112112
};
113113

0 commit comments

Comments
 (0)