summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/intel/glkrvp/touchpad.asl8
-rw-r--r--src/mainboard/intel/strago/acpi/mainboard.asl6
2 files changed, 7 insertions, 7 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 {
diff --git a/src/mainboard/intel/strago/acpi/mainboard.asl b/src/mainboard/intel/strago/acpi/mainboard.asl
index 0a7fb5c97c..dcfb0407e6 100644
--- a/src/mainboard/intel/strago/acpi/mainboard.asl
+++ b/src/mainboard/intel/strago/acpi/mainboard.asl
@@ -41,7 +41,7 @@ Scope (\_SB.PCI0.I2C1)
Method (_STA)
{
- If (LEqual (\S1EN, 1)) {
+ If (\S1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -80,7 +80,7 @@ Scope (\_SB.PCI0.I2C1)
Method (_STA)
{
- If (LEqual (\S1EN, 1)) {
+ If (\S1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -155,7 +155,7 @@ Scope (\_SB.PCI0.I2C6)
Method (_STA)
{
- If (LEqual (\S6EN, 1)) {
+ If (\S6EN == 1) {
Return (0xF)
} Else {
Return (0x0)