summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/rsmisc.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2015-12-29 13:52:32 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-01-01 03:26:44 +0100
commit5431b6543fb45f6c61dbb1394c918f3bc5acefae (patch)
treef650faee3089b7860f203f96ea3cc61b1a19c49d /drivers/acpi/acpica/rsmisc.c
parentb17629dbf72d0718e88190d7f0a1d54be044799c (diff)
ACPICA: Linuxize: reduce divergences for 20151218 release
The patch reduces source code differences between the Linux kernel and the ACPICA upstream so that the linuxized ACPICA 20151218 release can be applied with reduced human intervention. The pscode.c has already been out of sync for months, and it becomes more and more difficult to merge pscode.c changes, so instead of update the affected lines of pscode.c, this patch synchronizes entire pscode.c file. 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/rsmisc.c')
-rw-r--r--drivers/acpi/acpica/rsmisc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/rsmisc.c b/drivers/acpi/acpica/rsmisc.c
index ac37852e0821..b528ed903fb2 100644
--- a/drivers/acpi/acpica/rsmisc.c
+++ b/drivers/acpi/acpica/rsmisc.c
@@ -446,7 +446,7 @@ exit:
/* Round the resource struct length up to the next boundary (32 or 64) */
resource->length =
- (u32) ACPI_ROUND_UP_TO_NATIVE_WORD(resource->length);
+ (u32)ACPI_ROUND_UP_TO_NATIVE_WORD(resource->length);
}
return_ACPI_STATUS(AE_OK);
}
@@ -551,8 +551,8 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
ACPI_SET8(destination, item_count);
aml_length =
- (u16) (aml_length +
- (info->value * (item_count - 1)));
+ (u16)(aml_length +
+ (info->value * (item_count - 1)));
break;
case ACPI_RSC_COUNT16: