EDAC, {sb,skx}_edac: Use Intel model macros instead of open-coding them
authorDave Hansen <dave.hansen@intel.com>
Thu, 29 Sep 2016 20:43:21 +0000 (13:43 -0700)
committerBorislav Petkov <bp@suse.de>
Wed, 19 Oct 2016 10:32:40 +0000 (12:32 +0200)
commit20f4d69243785167449e6e765ce9f2a7b097ac45
tree8a640aa102a60a0d0c22b8f667af9850cf0de279
parent08328814256d888634ff15ba8fb67e2ae4340b64
EDAC, {sb,skx}_edac: Use Intel model macros instead of open-coding them

We now have symbolic names for a bunch of Intel CPU models via
asm/intel-family.h. The original conversion missed the EDAC drivers.
Convert them.

Signed-off-by: Dave Hansen <dave.hansen@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20160929204321.9FAE5F84@viggo.jf.intel.com
[ Remove comment, macro name is descriptive enough. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/sb_edac.c
drivers/edac/skx_edac.c