diff options
author | Hanjun Guo <guohanjun@huawei.com> | 2021-05-24 17:41:05 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-05-24 16:30:31 +0200 |
commit | be7ae56809bf6d3e6ee80cc92f4096207640a2fb (patch) | |
tree | 7a397efeb35d5d0e9e3ba62c1d629e872abcd4ee /drivers/acpi/acpi_configfs.c | |
parent | 64887bbddae56cb808089a7b3d5247d1a71a1e7e (diff) | |
download | linux-be7ae56809bf6d3e6ee80cc92f4096207640a2fb.tar.gz linux-be7ae56809bf6d3e6ee80cc92f4096207640a2fb.tar.bz2 linux-be7ae56809bf6d3e6ee80cc92f4096207640a2fb.zip |
ACPI: configfs: Replace ACPI_INFO() with pr_debug()
The ACPI_INFO() macro is used for message printing in the ACPICA code.
ACPI_INFO() will be empty if the ACPICA debug is not enabled, so
replace it with pr_debug().
Also remove the not needed ACPICA header file inclusions to decouple
from ACPICA.
Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_configfs.c')
-rw-r--r-- | drivers/acpi/acpi_configfs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/acpi_configfs.c b/drivers/acpi/acpi_configfs.c index 3a14859dbb75..76b83b181356 100644 --- a/drivers/acpi/acpi_configfs.c +++ b/drivers/acpi/acpi_configfs.c @@ -13,9 +13,6 @@ #include <linux/acpi.h> #include <linux/security.h> -#include "acpica/accommon.h" -#include "acpica/actables.h" - static struct config_group *acpi_table_group; struct acpi_table { @@ -226,7 +223,7 @@ static void acpi_table_drop_item(struct config_group *group, { struct acpi_table *table = container_of(cfg, struct acpi_table, cfg); - ACPI_INFO(("Host-directed Dynamic ACPI Table Unload")); + pr_debug("Host-directed Dynamic ACPI Table Unload\n"); acpi_unload_table(table->index); config_item_put(cfg); } |