aboutsummaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 03:55:28 +0100
committerFelix Singer <felixsinger@posteo.net>2022-06-09 09:02:47 +0000
commit9fa818d763f37a55d1ce59dbacf56fb6dca829c3 (patch)
tree4bf3e3707ffe75b31545fb463ae8624246693f41 /src/ec
parentcc03951016f37c9dc9e63c03836e8483e358bb7f (diff)
ec/lenovo/h8/acpi: Replace LLessEqual(a,b) with ASL 2.0 syntax
Replace `LLessEqual(a, b)` with `a <= b`. Change-Id: I256e56841e1c7037fe8ba5e9a963ad2301092325 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60708 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/lenovo/h8/acpi/thinkpad.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/acpi/thinkpad.asl b/src/ec/lenovo/h8/acpi/thinkpad.asl
index 7bf83b5690..ec897540aa 100644
--- a/src/ec/lenovo/h8/acpi/thinkpad.asl
+++ b/src/ec/lenovo/h8/acpi/thinkpad.asl
@@ -83,7 +83,7 @@ Device (HKEY)
/* Enable/disable event. */
Method (MHKM, 2, NotSerialized) {
- If (LLessEqual (Arg0, 0x20)) {
+ If (Arg0 <= 0x20) {
ShiftLeft (One, Arg0 - 1, Local0)
If (Arg1)
{