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>
This commit is contained in:
Felix Singer 2022-01-02 03:55:28 +01:00
parent cc03951016
commit 9fa818d763
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ Device (HKEY)
/* Enable/disable event. */ /* Enable/disable event. */
Method (MHKM, 2, NotSerialized) { Method (MHKM, 2, NotSerialized) {
If (LLessEqual (Arg0, 0x20)) { If (Arg0 <= 0x20) {
ShiftLeft (One, Arg0 - 1, Local0) ShiftLeft (One, Arg0 - 1, Local0)
If (Arg1) If (Arg1)
{ {