]> 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)
commit7cb9595f8f27c03b457711812fe85111240d6e14
treea2b5e57fde352a59d1d3ef0c1eed527bada3edce
parent606c02c741e369203cec964f170404a03b0f2f80
platform/x86/amd: pmc: Remove more CONFIG_DEBUG_FS checks

commit 54c03d6cc697 ("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: 54c03d6cc697 ("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