aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/intel/intel_powerclamp.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-03-20 14:13:58 +0100
committerBorislav Petkov <bp@suse.de>2020-03-24 21:33:53 +0100
commit9c51044cbc5fe9bb2c3bf71cb0dbcbd96ed03301 (patch)
tree657fe942789b829a4ed1a09d773cacc8e51d0849 /drivers/thermal/intel/intel_powerclamp.c
parenthwmon: Convert to new X86 CPU match macros (diff)
downloadlinux-dev-9c51044cbc5fe9bb2c3bf71cb0dbcbd96ed03301.tar.xz
linux-dev-9c51044cbc5fe9bb2c3bf71cb0dbcbd96ed03301.zip
thermal: 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. Get rid the of the local QUARK defines and use the proper ones. 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.967017771@linutronix.de
Diffstat (limited to 'drivers/thermal/intel/intel_powerclamp.c')
-rw-r--r--drivers/thermal/intel/intel_powerclamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/intel/intel_powerclamp.c b/drivers/thermal/intel/intel_powerclamp.c
index 53216dcbe173..f74b2473440d 100644
--- a/drivers/thermal/intel/intel_powerclamp.c
+++ b/drivers/thermal/intel/intel_powerclamp.c
@@ -651,7 +651,7 @@ static struct thermal_cooling_device_ops powerclamp_cooling_ops = {
};
static const struct x86_cpu_id __initconst intel_powerclamp_ids[] = {
- { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, X86_FEATURE_MWAIT },
+ X86_MATCH_VENDOR_FEATURE(INTEL, X86_FEATURE_MWAIT, NULL),
{}
};
MODULE_DEVICE_TABLE(x86cpu, intel_powerclamp_ids);