summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-12-31 01:05:39 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-10 12:36:20 +0100
commitc8d586f8ed0146d81186131df66cdbb19c41acda (patch)
treee563bf7590ee4a1ec8f945ecd1e59ad4b4e50367
parentACPICA: Add root node optimization to internal get namespace node function. (diff)
downloadlinux-c8d586f8ed0146d81186131df66cdbb19c41acda.tar.xz
linux-c8d586f8ed0146d81186131df66cdbb19c41acda.zip
ACPICA: Lint changes, no functional change.
Some changes from lint. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/acpi/acpica/psloop.c9
-rw-r--r--drivers/acpi/acpica/utdelete.c2
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/psloop.c b/drivers/acpi/acpica/psloop.c
index 5607805aab26..a6f8592c9ae5 100644
--- a/drivers/acpi/acpica/psloop.c
+++ b/drivers/acpi/acpica/psloop.c
@@ -142,7 +142,8 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
(u32)(walk_state->aml_offset +
sizeof(struct acpi_table_header))));
- ACPI_DUMP_BUFFER(walk_state->parser_state.aml - 16, 48);
+ ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16),
+ 48);
#ifdef ACPI_ASL_COMPILER
/*
@@ -159,9 +160,9 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
acpi_ut_dump_buffer(((u8 *)walk_state->parser_state.
aml - 16), 48, DB_BYTE_DISPLAY,
- walk_state->aml_offset +
- sizeof(struct acpi_table_header) -
- 16);
+ (walk_state->aml_offset +
+ sizeof(struct acpi_table_header) -
+ 16));
acpi_os_printf(" */\n");
#endif
}
diff --git a/drivers/acpi/acpica/utdelete.c b/drivers/acpi/acpica/utdelete.c
index 53e6af801661..c8bf44f522dd 100644
--- a/drivers/acpi/acpica/utdelete.c
+++ b/drivers/acpi/acpica/utdelete.c
@@ -340,7 +340,7 @@ void acpi_ut_delete_internal_object_list(union acpi_operand_object **obj_list)
{
union acpi_operand_object **internal_obj;
- ACPI_FUNCTION_NAME(ut_delete_internal_object_list);
+ ACPI_FUNCTION_ENTRY();
/* Walk the null-terminated internal list */