mb/google/glados/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`. Change-Id: Ic3a49828551b6da45999ff55539d5e3449d475e3 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70598 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
01a06b203e
commit
49384da933
|
@ -87,18 +87,17 @@ Scope (\_SB.PCI0.I2C2)
|
||||||
*/
|
*/
|
||||||
Method (_DSM, 4, NotSerialized)
|
Method (_DSM, 4, NotSerialized)
|
||||||
{
|
{
|
||||||
If (LEqual (Arg0, ToUUID
|
If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de")) {
|
||||||
("3cdff6f7-4267-4555-ad05-b30a3d8938de"))) {
|
If (Arg2 == Zero) {
|
||||||
If (LEqual (Arg2, Zero)) {
|
|
||||||
/* Function 0 - Query */
|
/* Function 0 - Query */
|
||||||
If (LEqual (Arg1, One)) {
|
If (Arg1 == One) {
|
||||||
/* Revision 1 Function 1 */
|
/* Revision 1 Function 1 */
|
||||||
Return (Buffer (One) { 0x03 })
|
Return (Buffer (One) { 0x03 })
|
||||||
} Else {
|
} Else {
|
||||||
/* Revision 2+ not supported */
|
/* Revision 2+ not supported */
|
||||||
Return (Buffer (One) { 0x00 })
|
Return (Buffer (One) { 0x00 })
|
||||||
}
|
}
|
||||||
} ElseIf (LEqual (Arg2, One)) {
|
} ElseIf (Arg2 == One) {
|
||||||
/* Function 1 - HID Descriptor Addr */
|
/* Function 1 - HID Descriptor Addr */
|
||||||
Return (0x0001)
|
Return (0x0001)
|
||||||
} Else {
|
} Else {
|
||||||
|
|
Loading…
Reference in New Issue