Skip to content

Commit 1e41eb1

Browse files
KAGA-KOKOsuryasaimadhu
authored andcommitted
mmc: sdhci-acpi: 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 4a9f45a commit 1e41eb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mmc/host/sdhci-acpi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static const struct sdhci_acpi_chip sdhci_acpi_chip_int = {
234234
static bool sdhci_acpi_byt(void)
235235
{
236236
static const struct x86_cpu_id byt[] = {
237-
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_SILVERMONT },
237+
X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT, NULL),
238238
{}
239239
};
240240

@@ -244,7 +244,7 @@ static bool sdhci_acpi_byt(void)
244244
static bool sdhci_acpi_cht(void)
245245
{
246246
static const struct x86_cpu_id cht[] = {
247-
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_ATOM_AIRMONT },
247+
X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT, NULL),
248248
{}
249249
};
250250

0 commit comments

Comments
 (0)