platform/x86/amd: pmc: Remove more CONFIG_DEBUG_FS checks
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 8 Nov 2022 02:33:23 +0000 (20:33 -0600)
committerHans de Goede <hdegoede@redhat.com>
Tue, 15 Nov 2022 11:36:49 +0000 (12:36 +0100)
commita5b5fb0fc47ddc7d1ed6a0365197639a01bc1f3a
treea2b5e57fde352a59d1d3ef0c1eed527bada3edce
parent53eb64c88f17b14b324fbdfd417f56c5d3fa6fee
platform/x86/amd: pmc: Remove more CONFIG_DEBUG_FS checks

commit b37fe34c8309 ("platform/x86/amd: pmc: remove CONFIG_DEBUG_FS
checks") removed most CONFIG_DEBUG_FS checks, but there were some
left that were reported to cause compile test failures.

Remove the remaining checks, and also the unnecessary CONFIG_SUSPEND
used in the same place.

Reported-by: liyupeng@zbhlos.com
Fixes: b37fe34c8309 ("platform/x86/amd: pmc: remove CONFIG_DEBUG_FS checks")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216679
Link: https://lore.kernel.org/r/20221108023323.19304-1-mario.limonciello@amd.com
Cc: stable@vger.kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmc.c