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/dsutils.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/dsutils.c')
-rw-r--r-- | drivers/acpi/acpica/dsutils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/dsutils.c b/drivers/acpi/acpica/dsutils.c index 99778997c35a..c666fc014987 100644 --- a/drivers/acpi/acpica/dsutils.c +++ b/drivers/acpi/acpica/dsutils.c | |||
@@ -240,7 +240,6 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
240 | 240 | ||
241 | case AML_IF_OP: | 241 | case AML_IF_OP: |
242 | case AML_WHILE_OP: | 242 | case AML_WHILE_OP: |
243 | |||
244 | /* | 243 | /* |
245 | * If we are executing the predicate AND this is the predicate op, | 244 | * If we are executing the predicate AND this is the predicate op, |
246 | * we will use the return value | 245 | * we will use the return value |
@@ -254,7 +253,9 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
254 | break; | 253 | break; |
255 | 254 | ||
256 | default: | 255 | default: |
256 | |||
257 | /* Ignore other control opcodes */ | 257 | /* Ignore other control opcodes */ |
258 | |||
258 | break; | 259 | break; |
259 | } | 260 | } |
260 | 261 | ||
@@ -263,7 +264,6 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
263 | goto result_not_used; | 264 | goto result_not_used; |
264 | 265 | ||
265 | case AML_CLASS_CREATE: | 266 | case AML_CLASS_CREATE: |
266 | |||
267 | /* | 267 | /* |
268 | * These opcodes allow term_arg(s) as operands and therefore | 268 | * These opcodes allow term_arg(s) as operands and therefore |
269 | * the operands can be method calls. The result is used. | 269 | * the operands can be method calls. The result is used. |
@@ -292,7 +292,6 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
292 | goto result_not_used; | 292 | goto result_not_used; |
293 | 293 | ||
294 | default: | 294 | default: |
295 | |||
296 | /* | 295 | /* |
297 | * In all other cases. the parent will actually use the return | 296 | * In all other cases. the parent will actually use the return |
298 | * object, so keep it. | 297 | * object, so keep it. |