From cc03951016f37c9dc9e63c03836e8483e358bb7f Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 02:49:59 +0100 Subject: [PATCH] ec/lenovo/h8/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax Replace `LNotEqual(a, b)` with `a != b`. Change-Id: Ic114e097a08488106554ce2dec61fa219d7cf1d0 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60700 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/ec/lenovo/h8/acpi/thinkpad.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ec/lenovo/h8/acpi/thinkpad.asl b/src/ec/lenovo/h8/acpi/thinkpad.asl index 23c1e027c2..7bf83b5690 100644 --- a/src/ec/lenovo/h8/acpi/thinkpad.asl +++ b/src/ec/lenovo/h8/acpi/thinkpad.asl @@ -35,13 +35,13 @@ Device (HKEY) Method (MHKP, 0, NotSerialized) { Store (BTN, Local0) - If (LNotEqual (Local0, Zero)) { + If (Local0 != 0) { Store (Zero, BTN) Local0 += 0x1000 Return (Local0) } Store (BTAB, Local0) - If (LNotEqual (Local0, Zero)) { + If (Local0 != 0) { Store (Zero, BTAB) Local0 += 0x5000 Return (Local0)