summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 02:19:48 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2022-06-03 15:25:34 +0000
commit9b13bfc6c95f338b9c3a4b2c9114f1d271a79ff2 (patch)
treeec542d248f862db71a83d0fa7bb3608f7b9578fa /src/ec/google/chromeec/acpi
parent68d765b7325580d164fa32039913fcbe5e3e5c1d (diff)
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 <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60690 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/ec/google/chromeec/acpi')
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
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)