aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exconvrt.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-05-05 00:57:53 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-05 09:14:35 -0400
commitf5c1e1c5a652e4b43eb9b571577ef72731f3fa8b (patch)
tree14eebafa4758ac6f5506400cd5915cd36e395b00 /drivers/acpi/acpica/exconvrt.c
parent8804f2525a56261b93576a1900185ac2691d138a (diff)
ACPICA: Divergence: remove unwanted spaces for typedef
ACPICA commit b2294cae776f5a66a7697414b21949d307e6856f This patch removes unwanted spaces for typedef. This solution doesn't cover function types. Note that the linuxize result of this commit is very giant and should have many conflicts against the current Linux upstream. Thus it is required to modify the linuxize result of this commit and the commits around it manually in order to have them merged to the Linux upstream. Since this is very costy, we should do this only once, and if we can't ensure to do this only once, we need to revert the Linux code to the wrong indentation result before merging the linuxize result of this commit. Lv Zheng. Link: https://github.com/acpica/acpica/commit/b2294cae Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/exconvrt.c')
-rw-r--r--drivers/acpi/acpica/exconvrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exconvrt.c b/drivers/acpi/acpica/exconvrt.c
index d0d16daa7ed5..b7e9b3d803e1 100644
--- a/drivers/acpi/acpica/exconvrt.c
+++ b/drivers/acpi/acpica/exconvrt.c
@@ -441,7 +441,7 @@ acpi_ex_convert_to_string(union acpi_operand_object * obj_desc,
441 * Need enough space for one ASCII integer (plus null terminator) 441 * Need enough space for one ASCII integer (plus null terminator)
442 */ 442 */
443 return_desc = 443 return_desc =
444 acpi_ut_create_string_object((acpi_size) string_length); 444 acpi_ut_create_string_object((acpi_size)string_length);
445 if (!return_desc) { 445 if (!return_desc) {
446 return_ACPI_STATUS(AE_NO_MEMORY); 446 return_ACPI_STATUS(AE_NO_MEMORY);
447 } 447 }
@@ -520,7 +520,7 @@ acpi_ex_convert_to_string(union acpi_operand_object * obj_desc,
520 } 520 }
521 521
522 return_desc = 522 return_desc =
523 acpi_ut_create_string_object((acpi_size) string_length); 523 acpi_ut_create_string_object((acpi_size)string_length);
524 if (!return_desc) { 524 if (!return_desc) {
525 return_ACPI_STATUS(AE_NO_MEMORY); 525 return_ACPI_STATUS(AE_NO_MEMORY);
526 } 526 }