platform/x86: intel_pmc_core: Convert to INTEL_CPU_FAM6 macro
authorRajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Thu, 14 Feb 2019 11:57:09 +0000 (17:27 +0530)
committerDarren Hart (VMware) <dvhart@infradead.org>
Sat, 23 Feb 2019 17:21:10 +0000 (09:21 -0800)
commitcfb55af9add9c19806300fdb31f4cd25e67c6d1a
treee376aca4c4c0a836bbce4c486d70bac9eade81b2
parentff7c634b4f7bafb93d6af5d11fd97a2f7695c9a7
platform/x86: intel_pmc_core: Convert to INTEL_CPU_FAM6 macro

INTEL_CPU_FAM6() macro provides better abstraction and reduces code size
so use it instead of custom grown ICPU().

Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/intel_pmc_core.c