diff options
author | Chao Guan <chao.guan@intel.com> | 2013-06-07 20:58:14 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-15 18:55:05 -0400 |
commit | 1d1ea1b723d9f239f736b8cf284327cbbf9d15d1 (patch) | |
tree | a94241a1f42a8952415d68e623f58de6d43c6369 /drivers/acpi/acpica/exstore.c | |
parent | b6872ff9a4785a790f9647ee2076e7e616a3bb0e (diff) |
ACPICA: Standardize all switch() blocks
After many years, different formatting for switch() has crept in.
This change makes every switch block identical. Chao Guan.
ACPICA bugzilla 997.
References: https://bugs.acpica.org/show_bug.cgi?id=997
Signed-off-by: Chao Guan <chao.guan@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/exstore.c')
-rw-r--r-- | drivers/acpi/acpica/exstore.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/exstore.c b/drivers/acpi/acpica/exstore.c index 93c6049c2d75..2bdba6f7d762 100644 --- a/drivers/acpi/acpica/exstore.c +++ b/drivers/acpi/acpica/exstore.c | |||
@@ -114,6 +114,7 @@ acpi_ex_store(union acpi_operand_object *source_desc, | |||
114 | 114 | ||
115 | switch (dest_desc->common.type) { | 115 | switch (dest_desc->common.type) { |
116 | case ACPI_TYPE_LOCAL_REFERENCE: | 116 | case ACPI_TYPE_LOCAL_REFERENCE: |
117 | |||
117 | break; | 118 | break; |
118 | 119 | ||
119 | case ACPI_TYPE_INTEGER: | 120 | case ACPI_TYPE_INTEGER: |
@@ -178,7 +179,6 @@ acpi_ex_store(union acpi_operand_object *source_desc, | |||
178 | break; | 179 | break; |
179 | 180 | ||
180 | case ACPI_REFCLASS_DEBUG: | 181 | case ACPI_REFCLASS_DEBUG: |
181 | |||
182 | /* | 182 | /* |
183 | * Storing to the Debug object causes the value stored to be | 183 | * Storing to the Debug object causes the value stored to be |
184 | * displayed and otherwise has no effect -- see ACPI Specification | 184 | * displayed and otherwise has no effect -- see ACPI Specification |
@@ -291,7 +291,6 @@ acpi_ex_store_object_to_index(union acpi_operand_object *source_desc, | |||
291 | break; | 291 | break; |
292 | 292 | ||
293 | case ACPI_TYPE_BUFFER_FIELD: | 293 | case ACPI_TYPE_BUFFER_FIELD: |
294 | |||
295 | /* | 294 | /* |
296 | * Store into a Buffer or String (not actually a real buffer_field) | 295 | * Store into a Buffer or String (not actually a real buffer_field) |
297 | * at a location defined by an Index. | 296 | * at a location defined by an Index. |
@@ -447,7 +446,6 @@ acpi_ex_store_object_to_node(union acpi_operand_object *source_desc, | |||
447 | case ACPI_TYPE_INTEGER: | 446 | case ACPI_TYPE_INTEGER: |
448 | case ACPI_TYPE_STRING: | 447 | case ACPI_TYPE_STRING: |
449 | case ACPI_TYPE_BUFFER: | 448 | case ACPI_TYPE_BUFFER: |
450 | |||
451 | /* | 449 | /* |
452 | * These target types are all of type Integer/String/Buffer, and | 450 | * These target types are all of type Integer/String/Buffer, and |
453 | * therefore support implicit conversion before the store. | 451 | * therefore support implicit conversion before the store. |