platform/x86: intel_pmc_core: Relocate pmc_core_*_display() to outside of CONFIG_DEBUG_FS
authorGayatri Kammela <gayatri.kammela@intel.com>
Thu, 27 Feb 2020 23:29:13 +0000 (15:29 -0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Feb 2020 10:41:42 +0000 (12:41 +0200)
commitaae43c2bcdc1939c4c6a51b3e28460ada68f8c0c
tree1f791f89bb66637da10c11df83b62fdb6b8ed4d4
parent7adb1e8aeeb5d4d88012568b2049599c1a247cf2
platform/x86: intel_pmc_core: Relocate pmc_core_*_display() to outside of CONFIG_DEBUG_FS

Since pmc_core_slps0_display() and pmc_core_lpm_display() is responsible for
dumping as well as displaying debug registers, there is no need for these
two functions to be defined under CONFIG_DEBUG_FS.

Hence, relocate these functions from under CONFIG_DEBUG_FS to above the block.

Cc: Chen Zhou <chenzhou10@huawei.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: David E. Box <david.e.box@intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c