mb/aopen/dxplplusu/acpi: Replace LOr() with ASL 2.0 syntax
Replace `LOr (a, b)` with `a || b`. Change-Id: Ib563f8ce5873e53c94992d81e78118a1194fc9af Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60578 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
ab62663767
commit
ca1b2a5b65
|
@ -144,7 +144,7 @@ Method (MLED, 1, NotSerialized)
|
|||
Store (0x00, LED1)
|
||||
}
|
||||
|
||||
If (LOr (LEqual (Arg0, 0x01), LEqual (Arg0, 0x02)))
|
||||
If (LEqual (Arg0, 0x01) || LEqual (Arg0, 0x02))
|
||||
{
|
||||
Store (0x01, LED1)
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ Method (MLED, 1, NotSerialized)
|
|||
Store (0x02, LED1)
|
||||
}
|
||||
|
||||
If (LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x05)))
|
||||
If (LEqual (Arg0, 0x04) || LEqual (Arg0, 0x05))
|
||||
{
|
||||
Store (0x03, LED1)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue