]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbbe5fea9ae33390d4c8b5dd4d2519a1cb88a56a0
treea2b5e57fde352a59d1d3ef0c1eed527bada3edce
parent5fe8a0919eb6e17fefa74f70c69bfa8c725e4743
platform/x86/amd: pmc: Remove more CONFIG_DEBUG_FS checks

commit 82b103d6c046 ("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: 82b103d6c046 ("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