diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-03-20 16:13:52 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-03-24 23:29:38 +0300 |
commit | 9595198f8dc4111f8cab39de2c0c4432787bc690 (patch) | |
tree | bb997d30c6cf5e8d636e7a97ebd1c618d81d9b80 /arch/x86/platform/intel-mid | |
parent | adefe55e725821e8ae23207992ded5994f1650a9 (diff) | |
download | linux-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.c | 5 |
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), {} }; |