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:
parent
e18277a998
commit
105d1185bb
|
@ -16,14 +16,14 @@ Method(_WAK,1)
|
||||||
{
|
{
|
||||||
/* Update AC status */
|
/* Update AC status */
|
||||||
Store (\_SB.PCI0.LPCB.EC0.ACEX, Local0)
|
Store (\_SB.PCI0.LPCB.EC0.ACEX, Local0)
|
||||||
if (LNotEqual (Local0, \PWRS)) {
|
if (Local0 != \PWRS) {
|
||||||
Store (Local0, \PWRS)
|
Store (Local0, \PWRS)
|
||||||
Notify (\_SB.PCI0.LPCB.EC0.AC, 0x80)
|
Notify (\_SB.PCI0.LPCB.EC0.AC, 0x80)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Update LID status */
|
/* Update LID status */
|
||||||
Store (\_SB.PCI0.LPCB.EC0.LIDS, Local0)
|
Store (\_SB.PCI0.LPCB.EC0.LIDS, Local0)
|
||||||
if (LNotEqual (Local0, \LIDS)) {
|
if (Local0 != \LIDS) {
|
||||||
Store (Local0, \LIDS)
|
Store (Local0, \LIDS)
|
||||||
Notify (\_SB.PCI0.LPCB.EC0.LID0, 0x80)
|
Notify (\_SB.PCI0.LPCB.EC0.LID0, 0x80)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue