Attention is currently required from: Alexander Couzens. Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60700 )
Change subject: ec/lenovo/h8/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax ......................................................................
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 felixsinger@posteo.net --- M src/ec/lenovo/h8/acpi/thinkpad.asl 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/60700/1
diff --git a/src/ec/lenovo/h8/acpi/thinkpad.asl b/src/ec/lenovo/h8/acpi/thinkpad.asl index 48e76dc..0eeeb60 100644 --- a/src/ec/lenovo/h8/acpi/thinkpad.asl +++ b/src/ec/lenovo/h8/acpi/thinkpad.asl @@ -35,13 +35,13 @@ 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)