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/dscontrol.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/dscontrol.c')
-rw-r--r-- | drivers/acpi/acpica/dscontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/dscontrol.c b/drivers/acpi/acpica/dscontrol.c index 7ea0f162f11c..eb56b66444b5 100644 --- a/drivers/acpi/acpica/dscontrol.c +++ b/drivers/acpi/acpica/dscontrol.c | |||
@@ -78,7 +78,6 @@ acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state, | |||
78 | 78 | ||
79 | switch (op->common.aml_opcode) { | 79 | switch (op->common.aml_opcode) { |
80 | case AML_WHILE_OP: | 80 | case AML_WHILE_OP: |
81 | |||
82 | /* | 81 | /* |
83 | * If this is an additional iteration of a while loop, continue. | 82 | * If this is an additional iteration of a while loop, continue. |
84 | * There is no need to allocate a new control state. | 83 | * There is no need to allocate a new control state. |
@@ -99,7 +98,6 @@ acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state, | |||
99 | /*lint -fallthrough */ | 98 | /*lint -fallthrough */ |
100 | 99 | ||
101 | case AML_IF_OP: | 100 | case AML_IF_OP: |
102 | |||
103 | /* | 101 | /* |
104 | * IF/WHILE: Create a new control state to manage these | 102 | * IF/WHILE: Create a new control state to manage these |
105 | * constructs. We need to manage these as a stack, in order | 103 | * constructs. We need to manage these as a stack, in order |
@@ -142,6 +140,7 @@ acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state, | |||
142 | break; | 140 | break; |
143 | 141 | ||
144 | default: | 142 | default: |
143 | |||
145 | break; | 144 | break; |
146 | } | 145 | } |
147 | 146 | ||
@@ -344,6 +343,7 @@ acpi_ds_exec_end_control_op(struct acpi_walk_state * walk_state, | |||
344 | case AML_NOOP_OP: | 343 | case AML_NOOP_OP: |
345 | 344 | ||
346 | /* Just do nothing! */ | 345 | /* Just do nothing! */ |
346 | |||
347 | break; | 347 | break; |
348 | 348 | ||
349 | case AML_BREAK_POINT_OP: | 349 | case AML_BREAK_POINT_OP: |