summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-01 18:55:52 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-12 14:40:47 +0000
commitac3d4dc6ef72df86f1cfa2d2e4d255bd377127d9 (patch)
treeb42c660b8411d64e0d3757915999d9856683bba4 /src/mainboard
parent90fe567fa9301502e3020fceccea76276862927d (diff)
mb/getac/p470/acpi/battery.asl: Remove unused remainder
Change-Id: I6ddc3d0c50c5907e24644cea5979d064bea4acd1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45913 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/getac/p470/acpi/battery.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/getac/p470/acpi/battery.asl b/src/mainboard/getac/p470/acpi/battery.asl
index 7924edfb45..d7b642aab5 100644
--- a/src/mainboard/getac/p470/acpi/battery.asl
+++ b/src/mainboard/getac/p470/acpi/battery.asl
@@ -79,9 +79,9 @@ Scope(\_SB) {
Store(\_SB.PCI0.LPCB.EC0.BPV0, Index(PBST, 3))
Multiply(\_SB.PCI0.LPCB.EC0.BRC0, 100, Local3)
- Divide(Local3, \_SB.PCI0.LPCB.EC0.BFC0, Local3, Local0)
+ Divide(Local3, \_SB.PCI0.LPCB.EC0.BFC0, , Local0)
Multiply(\_SB.PCI0.LPCB.EC0.BFC0, Local0, Local3)
- Divide(Local3, 0x64, Local3, Local0)
+ Divide(Local3, 0x64, , Local0)
Increment(Local0)
Store(Local0, Index(PBST, 2))
@@ -184,9 +184,9 @@ Scope(\_SB) {
Store(\_SB.PCI0.LPCB.EC0.BPV2, Index(PBST, 3))
Multiply(\_SB.PCI0.LPCB.EC0.BRC2, 100, Local3)
- Divide(Local3, \_SB.PCI0.LPCB.EC0.BFC2, Local3, Local0)
+ Divide(Local3, \_SB.PCI0.LPCB.EC0.BFC2, , Local0)
Multiply(\_SB.PCI0.LPCB.EC0.BFC2, Local0, Local3)
- Divide(Local3, 0x64, Local3, Local0)
+ Divide(Local3, 0x64, , Local0)
Increment(Local0)
Store(Local0, Index(PBST, 2))