diff options
Diffstat (limited to 'drivers/acpi/acpica/nsrepair.c')
-rw-r--r-- | drivers/acpi/acpica/nsrepair.c | 14 |
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 | * |