From 105d1185bb723aefea08a77ab47ad4c464643eb2 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 02:57:35 +0100 Subject: [PATCH] mb/google/slippy/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax Replace `LNotEqual(a, b)` with `a != b`. Change-Id: I61ef7b53e851f4c2367cba43ff76b200e9490ad2 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60705 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/mainboard/google/slippy/acpi/platform.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/slippy/acpi/platform.asl b/src/mainboard/google/slippy/acpi/platform.asl index 2813078469..010ee9bae3 100644 --- a/src/mainboard/google/slippy/acpi/platform.asl +++ b/src/mainboard/google/slippy/acpi/platform.asl @@ -16,14 +16,14 @@ Method(_WAK,1) { /* Update AC status */ Store (\_SB.PCI0.LPCB.EC0.ACEX, Local0) - if (LNotEqual (Local0, \PWRS)) { + if (Local0 != \PWRS) { Store (Local0, \PWRS) Notify (\_SB.PCI0.LPCB.EC0.AC, 0x80) } /* Update LID status */ Store (\_SB.PCI0.LPCB.EC0.LIDS, Local0) - if (LNotEqual (Local0, \LIDS)) { + if (Local0 != \LIDS) { Store (Local0, \LIDS) Notify (\_SB.PCI0.LPCB.EC0.LID0, 0x80) }