From ac3d4dc6ef72df86f1cfa2d2e4d255bd377127d9 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 1 Oct 2020 18:55:52 +0200 Subject: [PATCH] mb/getac/p470/acpi/battery.asl: Remove unused remainder Change-Id: I6ddc3d0c50c5907e24644cea5979d064bea4acd1 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/45913 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/getac/p470/acpi/battery.asl | 8 ++++---- 1 file 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))