Skip to content

Commit be7ae56

Browse files
guohanjunrafaeljw
authored andcommitted
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 <[email protected]> [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 64887bb commit be7ae56

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/acpi/acpi_configfs.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
#include <linux/acpi.h>
1414
#include <linux/security.h>
1515

16-
#include "acpica/accommon.h"
17-
#include "acpica/actables.h"
18-
1916
static struct config_group *acpi_table_group;
2017

2118
struct acpi_table {
@@ -226,7 +223,7 @@ static void acpi_table_drop_item(struct config_group *group,
226223
{
227224
struct acpi_table *table = container_of(cfg, struct acpi_table, cfg);
228225

229-
ACPI_INFO(("Host-directed Dynamic ACPI Table Unload"));
226+
pr_debug("Host-directed Dynamic ACPI Table Unload\n");
230227
acpi_unload_table(table->index);
231228
config_item_put(cfg);
232229
}

0 commit comments

Comments
 (0)