powercap/intel_rapl: Convert to new X86 CPU match macros
authorThomas Gleixner <tglx@linutronix.de>
Fri, 20 Mar 2020 13:14:03 +0000 (14:14 +0100)
committerBorislav Petkov <bp@suse.de>
Tue, 24 Mar 2020 20:35:32 +0000 (21:35 +0100)
commitf07225128865b30093c9ccf946564673c77d0233
tree6ea624e1fdf2a6fcff501c10d1178211c79332e5
parent91e503e6f8af97c7da71b3f1e7b2f8a07a36f2f1
powercap/intel_rapl: 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 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/20200320131510.501728797@linutronix.de
drivers/powercap/intel_rapl_common.c