linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [patch 17/22] PCI: intel-mid: Convert to new X86 CPU match macros
       [not found] <20200320131510.393113444@linutronix.de>
@ 2020-03-20 14:30 ` Bjorn Helgaas
  0 siblings, 0 replies; only message in thread
From: Bjorn Helgaas @ 2020-03-20 14:30 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: LKML, x86, Greg Kroah-Hartman, Mark Gross, Tony Luck, linux-pci,
	Paolo Bonzini, Darren Hart, Andy Shevchenko, Rafael J. Wysocki,
	Len Brown, linux-acpi, Viresh Kumar, linux-pm,
	Srinivas Pandruvada, linux-edac, platform-driver-x86,
	Jean Delvare, Guenter Roeck, linux-hwmon, Zhang Rui,
	Daniel Lezcano, Amit Kucheria, Chanwoo Choi, Jacob Pan,
	Adrian Hunter, Ulf Hansson, linux-mmc, Takashi Iwai, alsa-devel,
	Herbert Xu, David S. Miller, linux-crypto

On Fri, Mar 20, 2020 at 02:14:02PM +0100, Thomas Gleixner wrote:
> 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>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Cc: linux-pci@vger.kernel.org

Acked-by: Bjorn Helgaas <bhelgaas@google.com>

> ---
>  drivers/pci/pci-mid.c |    6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> --- a/drivers/pci/pci-mid.c
> +++ b/drivers/pci/pci-mid.c
> @@ -55,15 +55,13 @@ static const struct pci_platform_pm_ops
>  	.need_resume	= mid_pci_need_resume,
>  };
>  
> -#define ICPU(model)	{ X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
> -
>  /*
>   * This table should be in sync with the one in
>   * arch/x86/platform/intel-mid/pwr.c.
>   */
>  static const struct x86_cpu_id lpss_cpu_ids[] = {
> -	ICPU(INTEL_FAM6_ATOM_SALTWELL_MID),
> -	ICPU(INTEL_FAM6_ATOM_SILVERMONT_MID),
> +	X86_MATCH_INTEL_FAM6_MODEL(ATOM_SALTWELL_MID, NULL),
> +	X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, NULL),
>  	{}
>  };
>  
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-20 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200320131510.393113444@linutronix.de>
2020-03-20 14:30 ` [patch 17/22] PCI: intel-mid: Convert to new X86 CPU match macros Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).