diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2015-09-22 09:40:37 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-09-28 09:34:13 +0000 |
commit | 20373c03a84f92d9c19d780a84a9bc380015c3de (patch) | |
tree | 56eac1f4ced94cd3e04656d8bd8c68780d78ab95 /src/ec/google/chromeec/acpi/battery.asl | |
parent | 16ea5191207cb14d5fce3e763f18e046701d215b (diff) |
chromeec: Fix ACPI compile warnings
Recent version of iasl are flagging more things as warnings.
Remove unused Local0 uses and make _CRS method serialized to
fix these warnings.
BUG=chrome-os-partner:40635
BRANCH=none
TEST=build glados with iasl-20150717
Change-Id: I1d4535205426dd9a6346f53ff159221cf5cd899a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 8b43f8f24bb7cb33ad0411c24616da66663c2e3e
Original-Change-Id: I71eafd91d30d5f50e6211368f0bbc517c8085892
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/302163
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11716
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/ec/google/chromeec/acpi/battery.asl')
-rw-r--r-- | src/ec/google/chromeec/acpi/battery.asl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl index 6c083aeb4f..e3a4c2e814 100644 --- a/src/ec/google/chromeec/acpi/battery.asl +++ b/src/ec/google/chromeec/acpi/battery.asl @@ -110,11 +110,11 @@ Device (BAT0) Store (Local0, Index (PBIF, 1)) // Design Capacity of Warning - Divide (Multiply (Local0, DWRN), 100, Local1, Local2) + Divide (Multiply (Local0, DWRN), 100, , Local2) Store (Local2, Index (PBIF, 5)) // Design Capacity of Low - Divide (Multiply (Local0, DLOW), 100, Local1, Local2) + Divide (Multiply (Local0, DLOW), 100, , Local2) Store (Local2, Index (PBIF, 6)) // Get battery info from mainboard @@ -138,11 +138,11 @@ Device (BAT0) Store (Local0, Index (PBIX, 2)) // Design Capacity of Warning - Divide (Multiply (Local0, DWRN), 100, Local1, Local2) + Divide (Multiply (Local0, DWRN), 100, , Local2) Store (Local2, Index (PBIX, 6)) // Design Capacity of Low - Divide (Multiply (Local0, DLOW), 100, Local1, Local2) + Divide (Multiply (Local0, DLOW), 100, , Local2) Store (Local2, Index (PBIX, 7)) // Cycle Count |