mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 15:18:15 +00:00
platform/x86: intel_mid_powerbtn: Get rid of custom ICPU() macro
Replace custom grown macro with generic INTEL_CPU_FAM6() one. No functional change intended. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
c3b8e884de
commit
a8b60e484f
1 changed files with 2 additions and 5 deletions
|
@ -121,12 +121,9 @@ static const struct mid_pb_ddata mrfld_ddata = {
|
||||||
.setup = mrfld_setup,
|
.setup = mrfld_setup,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ICPU(model, ddata) \
|
|
||||||
{ X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (kernel_ulong_t)&ddata }
|
|
||||||
|
|
||||||
static const struct x86_cpu_id mid_pb_cpu_ids[] = {
|
static const struct x86_cpu_id mid_pb_cpu_ids[] = {
|
||||||
ICPU(INTEL_FAM6_ATOM_PENWELL, mfld_ddata),
|
INTEL_CPU_FAM6(ATOM_PENWELL, mfld_ddata),
|
||||||
ICPU(INTEL_FAM6_ATOM_MERRIFIELD, mrfld_ddata),
|
INTEL_CPU_FAM6(ATOM_MERRIFIELD, mrfld_ddata),
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue