x86/platform/pmc_atom: Fix warning when CONFIG_DEBUG_FS=n
x86/platform/pmc_atom: Fix warning when CONFIG_DEBUG_FS=n

When compiling with CONFIG_DEBUG_FS=n, GCC emits an unused
variable warning for pmc_atom.c because "ret" is used only
within the CONFIG_DEBUG_FS block.

This patch adds a dummy #ifdef for pmc_dbgfs_register() when
CONFIG_DEBUG_FS=n to simplify the code and remove the warning.

Signed-off-by: Martin Kelly <b2e3be424b2a2c8f3873ae8b34c46f50737b7bd2@amazon.com>
Acked-by: "Li, Aubrey" <ea149bbc418ec2f1bfb48063833ac8a7b1331623@linux.intel.com>
Cc: 1b4791921717f2d2cba7b852b68228bf586c6230@intel.com
Link: eae9daed5afab73ce0405b6194bd33df11f60ba2@martingkelly.com
Signed-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@kernel.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs