platform/x86: amd-pmc: Fix CONFIG_DEBUG_FS check
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Wed, 30 Dec 2020 08:10:28 +0000 (13:40 +0530)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 Jan 2021 14:57:26 +0000 (15:57 +0100)
commit5b569302520ac8cef03e7a841e45cb37234f8b5f
tree834344908dea3d894bce1bbd039322125ddf6e31
parentaa44afab87af079e0cf2ead9621d0447798a305e
platform/x86: amd-pmc: Fix CONFIG_DEBUG_FS check

lkp reported that CONFIG_DEBUG_FS was not defined because of wrong usage
if macro, correcting it now.

Fixes: 156ec4731cb2 ("platform/x86: amd-pmc: Add AMD platform support for S2Idle")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20201230081028.2615217-1-Shyam-sundar.S-k@amd.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd-pmc.c