Patrick Georgi submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
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>
---
M src/mainboard/getac/p470/acpi/battery.asl
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 7924edf..d7b642a 100644
--- a/src/mainboard/getac/p470/acpi/battery.asl
+++ b/src/mainboard/getac/p470/acpi/battery.asl
@@ -79,9 +79,9 @@
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 @@
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))


To view, visit change 45913. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6ddc3d0c50c5907e24644cea5979d064bea4acd1
Gerrit-Change-Number: 45913
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged