aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/nsrepair.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/nsrepair.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/nsrepair.c')
-rw-r--r--drivers/acpi/acpica/nsrepair.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/acpi/acpica/nsrepair.c b/drivers/acpi/acpica/nsrepair.c
index 5519a64a353f..8c5f292860fc 100644
--- a/drivers/acpi/acpica/nsrepair.c
+++ b/drivers/acpi/acpica/nsrepair.c
@@ -94,7 +94,7 @@ acpi_ns_convert_to_buffer(union acpi_operand_object *original_object,
94 * 94 *
95 * FUNCTION: acpi_ns_repair_object 95 * FUNCTION: acpi_ns_repair_object
96 * 96 *
97 * PARAMETERS: Data - Pointer to validation data structure 97 * PARAMETERS: data - Pointer to validation data structure
98 * expected_btypes - Object types expected 98 * expected_btypes - Object types expected
99 * package_index - Index of object within parent package (if 99 * package_index - Index of object within parent package (if
100 * applicable - ACPI_NOT_PACKAGE_ELEMENT 100 * applicable - ACPI_NOT_PACKAGE_ELEMENT
@@ -470,7 +470,7 @@ acpi_ns_convert_to_buffer(union acpi_operand_object *original_object,
470 * 470 *
471 * FUNCTION: acpi_ns_repair_null_element 471 * FUNCTION: acpi_ns_repair_null_element
472 * 472 *
473 * PARAMETERS: Data - Pointer to validation data structure 473 * PARAMETERS: data - Pointer to validation data structure
474 * expected_btypes - Object types expected 474 * expected_btypes - Object types expected
475 * package_index - Index of object within parent package (if 475 * package_index - Index of object within parent package (if
476 * applicable - ACPI_NOT_PACKAGE_ELEMENT 476 * applicable - ACPI_NOT_PACKAGE_ELEMENT
@@ -509,17 +509,17 @@ acpi_ns_repair_null_element(struct acpi_predefined_data *data,
509 */ 509 */
510 if (expected_btypes & ACPI_RTYPE_INTEGER) { 510 if (expected_btypes & ACPI_RTYPE_INTEGER) {
511 511
512 /* Need an Integer - create a zero-value integer */ 512 /* Need an integer - create a zero-value integer */
513 513
514 new_object = acpi_ut_create_integer_object((u64)0); 514 new_object = acpi_ut_create_integer_object((u64)0);
515 } else if (expected_btypes & ACPI_RTYPE_STRING) { 515 } else if (expected_btypes & ACPI_RTYPE_STRING) {
516 516
517 /* Need a String - create a NULL string */ 517 /* Need a string - create a NULL string */
518 518
519 new_object = acpi_ut_create_string_object(0); 519 new_object = acpi_ut_create_string_object(0);
520 } else if (expected_btypes & ACPI_RTYPE_BUFFER) { 520 } else if (expected_btypes & ACPI_RTYPE_BUFFER) {
521 521
522 /* Need a Buffer - create a zero-length buffer */ 522 /* Need a buffer - create a zero-length buffer */
523 523
524 new_object = acpi_ut_create_buffer_object(0); 524 new_object = acpi_ut_create_buffer_object(0);
525 } else { 525 } else {
@@ -552,7 +552,7 @@ acpi_ns_repair_null_element(struct acpi_predefined_data *data,
552 * 552 *
553 * FUNCTION: acpi_ns_remove_null_elements 553 * FUNCTION: acpi_ns_remove_null_elements
554 * 554 *
555 * PARAMETERS: Data - Pointer to validation data structure 555 * PARAMETERS: data - Pointer to validation data structure
556 * package_type - An acpi_return_package_types value 556 * package_type - An acpi_return_package_types value
557 * obj_desc - A Package object 557 * obj_desc - A Package object
558 * 558 *
@@ -635,7 +635,7 @@ acpi_ns_remove_null_elements(struct acpi_predefined_data *data,
635 * 635 *
636 * FUNCTION: acpi_ns_wrap_with_package 636 * FUNCTION: acpi_ns_wrap_with_package
637 * 637 *
638 * PARAMETERS: Data - Pointer to validation data structure 638 * PARAMETERS: data - Pointer to validation data structure
639 * original_object - Pointer to the object to repair. 639 * original_object - Pointer to the object to repair.
640 * obj_desc_ptr - The new package object is returned here 640 * obj_desc_ptr - The new package object is returned here
641 * 641 *