diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-11 20:52:09 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-12 21:45:10 +0000 |
commit | b8762ae2dc559dda2e76a14d27ff4d68d8d6002d (patch) | |
tree | d61d45efc90e85857d04bd75d269fbec18f32f17 /src/mainboard/intel/glkrvp | |
parent | 43b5730962d7898db040eb7004aa6fb655188e03 (diff) |
mb/intel/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`.
Change-Id: I99f34d4c03b0687b8e0c2e4aee85f196679bcf52
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70585
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/intel/glkrvp')
-rw-r--r-- | src/mainboard/intel/glkrvp/touchpad.asl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/intel/glkrvp/touchpad.asl b/src/mainboard/intel/glkrvp/touchpad.asl index 57388c5110..14ed629334 100644 --- a/src/mainboard/intel/glkrvp/touchpad.asl +++ b/src/mainboard/intel/glkrvp/touchpad.asl @@ -35,13 +35,13 @@ Method(_DSM, 0x4, NotSerialized) { // DSM UUID for HIDI2C - HID driver does not load without DSM - If(LEqual(Arg0, ToUUID("3CDFF6F7-4267-4555-AD05-B30A3D8938DE"))) + If(Arg0 == ToUUID("3CDFF6F7-4267-4555-AD05-B30A3D8938DE")) { // Function 0 : Query Function - If(LEqual(Arg2, Zero)) + If(Arg2 == Zero) { // Revision 1 - If(LEqual(Arg1, One)) + If(Arg1 == One) { Return (Buffer (One) {0x03}) } @@ -49,7 +49,7 @@ { Return (Buffer (One) {0x00}) } - } ElseIf (LEqual(Arg2, One)) { // Function 1 : HID Function + } ElseIf (Arg2 == One) { // Function 1 : HID Function // HID Descriptor Address (IHV Specific) Return(0x0020) } Else { |