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 <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60705
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 02:57:35 +01:00
parent e18277a998
commit 105d1185bb
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}