From 9fa818d763f37a55d1ce59dbacf56fb6dca829c3 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 03:55:28 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60708 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/ec/lenovo/h8/acpi/thinkpad.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {