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/nsprepkg.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/nsprepkg.c')
-rw-r--r-- | drivers/acpi/acpica/nsprepkg.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/nsprepkg.c b/drivers/acpi/acpica/nsprepkg.c index ab2a3f477e1e..6d55cef7916c 100644 --- a/drivers/acpi/acpica/nsprepkg.c +++ b/drivers/acpi/acpica/nsprepkg.c | |||
@@ -136,7 +136,6 @@ acpi_ns_check_package(struct acpi_evaluate_info *info, | |||
136 | */ | 136 | */ |
137 | switch (package->ret_info.type) { | 137 | switch (package->ret_info.type) { |
138 | case ACPI_PTYPE1_FIXED: | 138 | case ACPI_PTYPE1_FIXED: |
139 | |||
140 | /* | 139 | /* |
141 | * The package count is fixed and there are no sub-packages | 140 | * The package count is fixed and there are no sub-packages |
142 | * | 141 | * |
@@ -169,7 +168,6 @@ acpi_ns_check_package(struct acpi_evaluate_info *info, | |||
169 | break; | 168 | break; |
170 | 169 | ||
171 | case ACPI_PTYPE1_VAR: | 170 | case ACPI_PTYPE1_VAR: |
172 | |||
173 | /* | 171 | /* |
174 | * The package count is variable, there are no sub-packages, and all | 172 | * The package count is variable, there are no sub-packages, and all |
175 | * elements must be of the same type | 173 | * elements must be of the same type |
@@ -186,7 +184,6 @@ acpi_ns_check_package(struct acpi_evaluate_info *info, | |||
186 | break; | 184 | break; |
187 | 185 | ||
188 | case ACPI_PTYPE1_OPTION: | 186 | case ACPI_PTYPE1_OPTION: |
189 | |||
190 | /* | 187 | /* |
191 | * The package count is variable, there are no sub-packages. There are | 188 | * The package count is variable, there are no sub-packages. There are |
192 | * a fixed number of required elements, and a variable number of | 189 | * a fixed number of required elements, and a variable number of |
@@ -284,7 +281,6 @@ acpi_ns_check_package(struct acpi_evaluate_info *info, | |||
284 | case ACPI_PTYPE2_MIN: | 281 | case ACPI_PTYPE2_MIN: |
285 | case ACPI_PTYPE2_COUNT: | 282 | case ACPI_PTYPE2_COUNT: |
286 | case ACPI_PTYPE2_FIX_VAR: | 283 | case ACPI_PTYPE2_FIX_VAR: |
287 | |||
288 | /* | 284 | /* |
289 | * These types all return a single Package that consists of a | 285 | * These types all return a single Package that consists of a |
290 | * variable number of sub-Packages. | 286 | * variable number of sub-Packages. |
@@ -500,7 +496,6 @@ acpi_ns_check_package_list(struct acpi_evaluate_info *info, | |||
500 | break; | 496 | break; |
501 | 497 | ||
502 | case ACPI_PTYPE2_COUNT: | 498 | case ACPI_PTYPE2_COUNT: |
503 | |||
504 | /* | 499 | /* |
505 | * First element is the (Integer) count of elements, including | 500 | * First element is the (Integer) count of elements, including |
506 | * the count field (the ACPI name is num_elements) | 501 | * the count field (the ACPI name is num_elements) |