aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/psloop.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-07-11 21:40:10 -0400
committerLen Brown <len.brown@intel.com>2012-07-17 00:05:51 -0400
commitba494beeaa69bc0fb01eb89464ad5d57d26e3901 (patch)
tree804996ccb531af38f91853bd9b8055b65cd2ac6b /drivers/acpi/acpica/psloop.c
parent75e7386b104b27b1158bf7d13c69d5317f0033ca (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/psloop.c')
-rw-r--r--drivers/acpi/acpica/psloop.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/acpi/acpica/psloop.c b/drivers/acpi/acpica/psloop.c
index 9547ad8a620b..799162c1b6df 100644
--- a/drivers/acpi/acpica/psloop.c
+++ b/drivers/acpi/acpica/psloop.c
@@ -167,7 +167,7 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
167 * PARAMETERS: walk_state - Current state 167 * PARAMETERS: walk_state - Current state
168 * aml_op_start - Begin of named Op in AML 168 * aml_op_start - Begin of named Op in AML
169 * unnamed_op - Early Op (not a named Op) 169 * unnamed_op - Early Op (not a named Op)
170 * Op - Returned Op 170 * op - Returned Op
171 * 171 *
172 * RETURN: Status 172 * RETURN: Status
173 * 173 *
@@ -323,7 +323,7 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state,
323 323
324 if (walk_state->op_info->flags & AML_CREATE) { 324 if (walk_state->op_info->flags & AML_CREATE) {
325 /* 325 /*
326 * Backup to beginning of create_xXXfield declaration 326 * Backup to beginning of create_XXXfield declaration
327 * body_length is unknown until we parse the body 327 * body_length is unknown until we parse the body
328 */ 328 */
329 op->named.data = aml_op_start; 329 op->named.data = aml_op_start;
@@ -380,7 +380,7 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state,
380 * 380 *
381 * PARAMETERS: walk_state - Current state 381 * PARAMETERS: walk_state - Current state
382 * aml_op_start - Op start in AML 382 * aml_op_start - Op start in AML
383 * Op - Current Op 383 * op - Current Op
384 * 384 *
385 * RETURN: Status 385 * RETURN: Status
386 * 386 *
@@ -679,8 +679,8 @@ acpi_ps_link_module_code(union acpi_parse_object *parent_op,
679 * FUNCTION: acpi_ps_complete_op 679 * FUNCTION: acpi_ps_complete_op
680 * 680 *
681 * PARAMETERS: walk_state - Current state 681 * PARAMETERS: walk_state - Current state
682 * Op - Returned Op 682 * op - Returned Op
683 * Status - Parse status before complete Op 683 * status - Parse status before complete Op
684 * 684 *
685 * RETURN: Status 685 * RETURN: Status
686 * 686 *
@@ -853,8 +853,8 @@ acpi_ps_complete_op(struct acpi_walk_state *walk_state,
853 * FUNCTION: acpi_ps_complete_final_op 853 * FUNCTION: acpi_ps_complete_final_op
854 * 854 *
855 * PARAMETERS: walk_state - Current state 855 * PARAMETERS: walk_state - Current state
856 * Op - Current Op 856 * op - Current Op
857 * Status - Current parse status before complete last 857 * status - Current parse status before complete last
858 * Op 858 * Op
859 * 859 *
860 * RETURN: Status 860 * RETURN: Status
@@ -1165,7 +1165,7 @@ acpi_status acpi_ps_parse_loop(struct acpi_walk_state *walk_state)
1165 1165
1166 if (walk_state->op_info->flags & AML_CREATE) { 1166 if (walk_state->op_info->flags & AML_CREATE) {
1167 /* 1167 /*
1168 * Backup to beginning of create_xXXfield declaration (1 for 1168 * Backup to beginning of create_XXXfield declaration (1 for
1169 * Opcode) 1169 * Opcode)
1170 * 1170 *
1171 * body_length is unknown until we parse the body 1171 * body_length is unknown until we parse the body