]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54c03d6cc69709ff28e14ad372eaab6cf12f5878
tree52fb1f29fdac7dbc706067864c2687f44c12cf61
parent0f884a3c769b0898f9e18b8e74410bfc62107324
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