mb/aopen/dxplplusu/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`. Change-Id: I4fa3942216f1638abeafa0c562f4d6a2a499254b Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70586 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b8762ae2dc
commit
fef71fcebe
|
@ -139,22 +139,22 @@ Method (_INI, 0, NotSerialized)
|
|||
|
||||
Method (MLED, 1, NotSerialized)
|
||||
{
|
||||
If (LEqual (Arg0, 0x00))
|
||||
If (Arg0 == 0x00)
|
||||
{
|
||||
Store (0x00, LED1)
|
||||
}
|
||||
|
||||
If (LEqual (Arg0, 0x01) || LEqual (Arg0, 0x02))
|
||||
If (Arg0 == 0x01 || Arg0 == 0x02)
|
||||
{
|
||||
Store (0x01, LED1)
|
||||
}
|
||||
|
||||
If (LEqual (Arg0, 0x03))
|
||||
If (Arg0 == 0x03)
|
||||
{
|
||||
Store (0x02, LED1)
|
||||
}
|
||||
|
||||
If (LEqual (Arg0, 0x04) || LEqual (Arg0, 0x05))
|
||||
If (Arg0 == 0x04 || Arg0 == 0x05)
|
||||
{
|
||||
Store (0x03, LED1)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue