platform/x86: intel_pmc_core: Clean up: Remove the duplicate comments and reorganize
authorGayatri Kammela <gayatri.kammela@intel.com>
Wed, 7 Oct 2020 03:51:05 +0000 (20:51 -0700)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Oct 2020 21:07:29 +0000 (23:07 +0200)
commit3976c6e365d7d50cbc96e92b0c537f5e8c744373
treee5bf7189887b23f588e4b9343b493a68fee1a6ab
parent025f26de7fa0fc40c8baf6c19fb273500f3321f0
platform/x86: intel_pmc_core: Clean up: Remove the duplicate comments and reorganize

Some of the Cannon Lake PCH IPs are reused by most of the platforms
such as Ice Lake, Tiger Lake, Elkhart Lake, Jasper Lake and can be
reused by future platforms as well. The same was mentioned via comments
not once but twice in an array of bit map structs for Cannon Lake
(cnp_pfear_map).

Hence, remove the duplicate comments and reorganize them.

Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: David E. Box <david.e.box@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Rui Zhang <rui.zhang@intel.com>
Suggested-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Rajneesh Bhardwaj <irenic.rajneesh@gmail.com>
Link: https://lore.kernel.org/r/20201007035108.31078-2-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_pmc_core.c