diff mbox series

[02/25] ACPI: configfs: Decouple with ACPICA

Message ID 1600328345-27627-3-git-send-email-guohanjun@huawei.com (mailing list archive)
State Changes Requested, archived
Headers show
Series ACPI: First step to decouple ACPICA debug functionality from ACPI driver | expand

Commit Message

Hanjun Guo Sept. 17, 2020, 7:38 a.m. UTC
Remove the not needed acpica head file inclusions and change
ACPI_INFO() to pr_info() to decouple with ACPICA.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
---
 drivers/acpi/acpi_configfs.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/drivers/acpi/acpi_configfs.c b/drivers/acpi/acpi_configfs.c
index 88c8af4..21160a3 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_info("Host-directed Dynamic ACPI Table Unload\n");
 	acpi_unload_table(table->index);
 }