summaryrefslogtreecommitdiff
path: root/arch/x86/platform/intel-mid
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-03-20 16:13:52 +0300
committerBorislav Petkov <bp@suse.de>2020-03-24 23:29:38 +0300
commit9595198f8dc4111f8cab39de2c0c4432787bc690 (patch)
treebb997d30c6cf5e8d636e7a97ebd1c618d81d9b80 /arch/x86/platform/intel-mid
parentadefe55e725821e8ae23207992ded5994f1650a9 (diff)
downloadlinux-9595198f8dc4111f8cab39de2c0c4432787bc690.tar.xz
x86/platform: Convert to new CPU match macros
The new macro set has a consistent namespace and uses C99 initializers instead of the grufty C89 ones. Get rid the of the local macro wrappers for consistency. 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/20200320131509.359448901@linutronix.de
Diffstat (limited to 'arch/x86/platform/intel-mid')
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_bt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_bt.c b/arch/x86/platform/intel-mid/device_libs/platform_bt.c
index e3f4bfc08f78..31dda18bb370 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_bt.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_bt.c
@@ -60,11 +60,8 @@ static struct bt_sfi_data tng_bt_sfi_data __initdata = {
.setup = tng_bt_sfi_setup,
};
-#define ICPU(model, ddata) \
- { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (kernel_ulong_t)&ddata }
-
static const struct x86_cpu_id bt_sfi_cpu_ids[] = {
- ICPU(INTEL_FAM6_ATOM_SILVERMONT_MID, tng_bt_sfi_data),
+ X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, &tng_bt_sfi_data),
{}
};