diff options
Diffstat (limited to 'drivers/acpi/acpica/utcopy.c')
-rw-r--r-- | drivers/acpi/acpica/utcopy.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/utcopy.c b/drivers/acpi/acpica/utcopy.c index e4c9291fc0a3..1731c27c36a6 100644 --- a/drivers/acpi/acpica/utcopy.c +++ b/drivers/acpi/acpica/utcopy.c | |||
@@ -178,7 +178,6 @@ acpi_ut_copy_isimple_to_esimple(union acpi_operand_object *internal_object, | |||
178 | 178 | ||
179 | switch (internal_object->reference.class) { | 179 | switch (internal_object->reference.class) { |
180 | case ACPI_REFCLASS_NAME: | 180 | case ACPI_REFCLASS_NAME: |
181 | |||
182 | /* | 181 | /* |
183 | * For namepath, return the object handle ("reference") | 182 | * For namepath, return the object handle ("reference") |
184 | * We are referring to the namespace node | 183 | * We are referring to the namespace node |
@@ -264,7 +263,6 @@ acpi_ut_copy_ielement_to_eelement(u8 object_type, | |||
264 | 263 | ||
265 | switch (object_type) { | 264 | switch (object_type) { |
266 | case ACPI_COPY_TYPE_SIMPLE: | 265 | case ACPI_COPY_TYPE_SIMPLE: |
267 | |||
268 | /* | 266 | /* |
269 | * This is a simple or null object | 267 | * This is a simple or null object |
270 | */ | 268 | */ |
@@ -278,7 +276,6 @@ acpi_ut_copy_ielement_to_eelement(u8 object_type, | |||
278 | break; | 276 | break; |
279 | 277 | ||
280 | case ACPI_COPY_TYPE_PACKAGE: | 278 | case ACPI_COPY_TYPE_PACKAGE: |
281 | |||
282 | /* | 279 | /* |
283 | * Build the package object | 280 | * Build the package object |
284 | */ | 281 | */ |
@@ -304,6 +301,7 @@ acpi_ut_copy_ielement_to_eelement(u8 object_type, | |||
304 | break; | 301 | break; |
305 | 302 | ||
306 | default: | 303 | default: |
304 | |||
307 | return (AE_BAD_PARAMETER); | 305 | return (AE_BAD_PARAMETER); |
308 | } | 306 | } |
309 | 307 | ||
@@ -481,6 +479,7 @@ acpi_ut_copy_esimple_to_isimple(union acpi_object *external_object, | |||
481 | return_ACPI_STATUS(AE_OK); | 479 | return_ACPI_STATUS(AE_OK); |
482 | 480 | ||
483 | default: | 481 | default: |
482 | |||
484 | /* All other types are not supported */ | 483 | /* All other types are not supported */ |
485 | 484 | ||
486 | ACPI_ERROR((AE_INFO, | 485 | ACPI_ERROR((AE_INFO, |
@@ -544,7 +543,9 @@ acpi_ut_copy_esimple_to_isimple(union acpi_object *external_object, | |||
544 | break; | 543 | break; |
545 | 544 | ||
546 | default: | 545 | default: |
546 | |||
547 | /* Other types can't get here */ | 547 | /* Other types can't get here */ |
548 | |||
548 | break; | 549 | break; |
549 | } | 550 | } |
550 | 551 | ||
@@ -800,7 +801,9 @@ acpi_ut_copy_simple_object(union acpi_operand_object *source_desc, | |||
800 | break; | 801 | break; |
801 | 802 | ||
802 | default: | 803 | default: |
804 | |||
803 | /* Nothing to do for other simple objects */ | 805 | /* Nothing to do for other simple objects */ |
806 | |||
804 | break; | 807 | break; |
805 | } | 808 | } |
806 | 809 | ||
@@ -868,7 +871,6 @@ acpi_ut_copy_ielement_to_ielement(u8 object_type, | |||
868 | break; | 871 | break; |
869 | 872 | ||
870 | case ACPI_COPY_TYPE_PACKAGE: | 873 | case ACPI_COPY_TYPE_PACKAGE: |
871 | |||
872 | /* | 874 | /* |
873 | * This object is a package - go down another nesting level | 875 | * This object is a package - go down another nesting level |
874 | * Create and build the package object | 876 | * Create and build the package object |
@@ -891,6 +893,7 @@ acpi_ut_copy_ielement_to_ielement(u8 object_type, | |||
891 | break; | 893 | break; |
892 | 894 | ||
893 | default: | 895 | default: |
896 | |||
894 | return (AE_BAD_PARAMETER); | 897 | return (AE_BAD_PARAMETER); |
895 | } | 898 | } |
896 | 899 | ||