platform/x86/amd: pmc: remove CONFIG_DEBUG_FS checks
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Thu, 22 Sep 2022 17:56:08 +0000 (23:26 +0530)
committerHans de Goede <hdegoede@redhat.com>
Tue, 27 Sep 2022 13:17:09 +0000 (15:17 +0200)
commitb37fe34c83099ba5105115f8287c5546af1f0a05
tree52fb1f29fdac7dbc706067864c2687f44c12cf61
parenta776bf77c98ddea32233e2480f565797900975ba
platform/x86/amd: pmc: remove CONFIG_DEBUG_FS checks

Since linux/debugfs.h already has the stubs for the used debugfs
functions when debugfs is not enabled, remove the #ifdef CONFIG_DEBUG_FS
checks.

Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20220922175608.630046-1-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmc.c