diff options
author | Bob Moore <robert.moore@intel.com> | 2012-07-11 21:40:10 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-07-17 00:05:51 -0400 |
commit | ba494beeaa69bc0fb01eb89464ad5d57d26e3901 (patch) | |
tree | 804996ccb531af38f91853bd9b8055b65cd2ac6b /drivers/acpi/acpica/dswstate.c | |
parent | 75e7386b104b27b1158bf7d13c69d5317f0033ca (diff) |
ACPICA: AcpiSrc: Fix some translation issues for Linux conversion
Fixes issues like this:
i_aSL -> iASL
00-7_f -> 00-7F
local_fADT -> local_FADT
execute_oSI -> execute_OSI
Also, in function headers, the parameters are now translated to
lower case (with underscores if necessary.)
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dswstate.c')
-rw-r--r-- | drivers/acpi/acpica/dswstate.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/acpi/acpica/dswstate.c b/drivers/acpi/acpica/dswstate.c index c9c2ac13e7cc..d0e6555061e4 100644 --- a/drivers/acpi/acpica/dswstate.c +++ b/drivers/acpi/acpica/dswstate.c | |||
@@ -58,7 +58,7 @@ static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *ws); | |||
58 | * | 58 | * |
59 | * FUNCTION: acpi_ds_result_pop | 59 | * FUNCTION: acpi_ds_result_pop |
60 | * | 60 | * |
61 | * PARAMETERS: Object - Where to return the popped object | 61 | * PARAMETERS: object - Where to return the popped object |
62 | * walk_state - Current Walk state | 62 | * walk_state - Current Walk state |
63 | * | 63 | * |
64 | * RETURN: Status | 64 | * RETURN: Status |
@@ -132,7 +132,7 @@ acpi_ds_result_pop(union acpi_operand_object **object, | |||
132 | * | 132 | * |
133 | * FUNCTION: acpi_ds_result_push | 133 | * FUNCTION: acpi_ds_result_push |
134 | * | 134 | * |
135 | * PARAMETERS: Object - Where to return the popped object | 135 | * PARAMETERS: object - Where to return the popped object |
136 | * walk_state - Current Walk state | 136 | * walk_state - Current Walk state |
137 | * | 137 | * |
138 | * RETURN: Status | 138 | * RETURN: Status |
@@ -296,7 +296,7 @@ static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *walk_state) | |||
296 | * | 296 | * |
297 | * FUNCTION: acpi_ds_obj_stack_push | 297 | * FUNCTION: acpi_ds_obj_stack_push |
298 | * | 298 | * |
299 | * PARAMETERS: Object - Object to push | 299 | * PARAMETERS: object - Object to push |
300 | * walk_state - Current Walk state | 300 | * walk_state - Current Walk state |
301 | * | 301 | * |
302 | * RETURN: Status | 302 | * RETURN: Status |
@@ -433,7 +433,7 @@ acpi_ds_obj_stack_pop_and_delete(u32 pop_count, | |||
433 | * | 433 | * |
434 | * FUNCTION: acpi_ds_get_current_walk_state | 434 | * FUNCTION: acpi_ds_get_current_walk_state |
435 | * | 435 | * |
436 | * PARAMETERS: Thread - Get current active state for this Thread | 436 | * PARAMETERS: thread - Get current active state for this Thread |
437 | * | 437 | * |
438 | * RETURN: Pointer to the current walk state | 438 | * RETURN: Pointer to the current walk state |
439 | * | 439 | * |
@@ -462,7 +462,7 @@ struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state | |||
462 | * FUNCTION: acpi_ds_push_walk_state | 462 | * FUNCTION: acpi_ds_push_walk_state |
463 | * | 463 | * |
464 | * PARAMETERS: walk_state - State to push | 464 | * PARAMETERS: walk_state - State to push |
465 | * Thread - Thread state object | 465 | * thread - Thread state object |
466 | * | 466 | * |
467 | * RETURN: None | 467 | * RETURN: None |
468 | * | 468 | * |
@@ -486,7 +486,7 @@ acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, | |||
486 | * | 486 | * |
487 | * FUNCTION: acpi_ds_pop_walk_state | 487 | * FUNCTION: acpi_ds_pop_walk_state |
488 | * | 488 | * |
489 | * PARAMETERS: Thread - Current thread state | 489 | * PARAMETERS: thread - Current thread state |
490 | * | 490 | * |
491 | * RETURN: A walk_state object popped from the thread's stack | 491 | * RETURN: A walk_state object popped from the thread's stack |
492 | * | 492 | * |
@@ -525,9 +525,9 @@ struct acpi_walk_state *acpi_ds_pop_walk_state(struct acpi_thread_state *thread) | |||
525 | * FUNCTION: acpi_ds_create_walk_state | 525 | * FUNCTION: acpi_ds_create_walk_state |
526 | * | 526 | * |
527 | * PARAMETERS: owner_id - ID for object creation | 527 | * PARAMETERS: owner_id - ID for object creation |
528 | * Origin - Starting point for this walk | 528 | * origin - Starting point for this walk |
529 | * method_desc - Method object | 529 | * method_desc - Method object |
530 | * Thread - Current thread state | 530 | * thread - Current thread state |
531 | * | 531 | * |
532 | * RETURN: Pointer to the new walk state. | 532 | * RETURN: Pointer to the new walk state. |
533 | * | 533 | * |
@@ -578,11 +578,11 @@ struct acpi_walk_state *acpi_ds_create_walk_state(acpi_owner_id owner_id, union | |||
578 | * FUNCTION: acpi_ds_init_aml_walk | 578 | * FUNCTION: acpi_ds_init_aml_walk |
579 | * | 579 | * |
580 | * PARAMETERS: walk_state - New state to be initialized | 580 | * PARAMETERS: walk_state - New state to be initialized |
581 | * Op - Current parse op | 581 | * op - Current parse op |
582 | * method_node - Control method NS node, if any | 582 | * method_node - Control method NS node, if any |
583 | * aml_start - Start of AML | 583 | * aml_start - Start of AML |
584 | * aml_length - Length of AML | 584 | * aml_length - Length of AML |
585 | * Info - Method info block (params, etc.) | 585 | * info - Method info block (params, etc.) |
586 | * pass_number - 1, 2, or 3 | 586 | * pass_number - 1, 2, or 3 |
587 | * | 587 | * |
588 | * RETURN: Status | 588 | * RETURN: Status |