From 9b13bfc6c95f338b9c3a4b2c9114f1d271a79ff2 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 02:19:48 +0100 Subject: ec/google/chromeec/acpi: Replace LGreaterEqual(a,b) with ASL 2.0 syntax Replace `LGreaterEqual(a, b)` with `a >= b`. Change-Id: I72875f68e143f9384c91588cd453d2987fda526d Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60690 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/ec/google/chromeec/acpi/battery.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ec') diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl index ce4462debf..2bc6e1cfd9 100644 --- a/src/ec/google/chromeec/acpi/battery.asl +++ b/src/ec/google/chromeec/acpi/battery.asl @@ -14,7 +14,7 @@ Method (BTSW, 1) If (LEqual (BTIX, Arg0)) { Return (Zero) } - If (LGreaterEqual (Arg0, BTCN)) { + If (Arg0 >= BTCN) { Return (One) } Store (Arg0, \_SB.PCI0.LPCB.EC0.BTID) -- cgit v1.2.3