Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60505 )
Change subject: ec/smsc/mec1308/acpi: Replace Add(a,b) with ASL 2.0 syntax ......................................................................
ec/smsc/mec1308/acpi: Replace Add(a,b) with ASL 2.0 syntax
Replace `Add (a, b)` with `a + b`.
Change-Id: I82a960f9b5748ccdde3c07b78963b44b8dbef37e Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/60505 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr --- M src/ec/smsc/mec1308/acpi/battery.asl 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl index 603b1d4..2aa5ace 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl @@ -158,7 +158,7 @@ // See if within ~3% of full ShiftRight (Local2, 5, Local3) If (LGreater (Local1, Local2 - Local3) && - LLess (Local1, Add (Local2, Local3))) + LLess (Local1, Local2 + Local3)) { Store (Local2, Local1) }
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.