]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
extcon: axp288: Switch to new Intel CPU model defines
authorTony Luck <tony.luck@intel.com>
Tue, 3 Sep 2024 17:34:41 +0000 (10:34 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 4 Sep 2024 15:58:43 +0000 (17:58 +0200)
New CPU #defines encode vendor and family as well as model.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240903173443.7962-2-tony.luck@intel.com
drivers/extcon/extcon-axp288.c

index a703a8315634df6aea13e1c43e53d3f643925638..d3bcbe839c095f126f0313a074681f1c900762c2 100644 (file)
@@ -108,7 +108,7 @@ struct axp288_extcon_info {
 };
 
 static const struct x86_cpu_id cherry_trail_cpu_ids[] = {
-       X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT,        NULL),
+       X86_MATCH_VFM(INTEL_ATOM_AIRMONT,       NULL),
        {}
 };