summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/acpi/ec.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 00:55:18 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2022-06-03 15:25:56 +0000
commit3c799fa311ecc6e14189f5132bee081545881d48 (patch)
tree72bbe95a82142a2ff9c949b6b59734d40ff98272 /src/ec/google/chromeec/acpi/ec.asl
parent29821febc3c67f6a94f5e23aaefa83e8cbd77ade (diff)
ec/google/chromeec/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual(a, b)` with `a == b`. Change-Id: I4d79080ecfe457766983b20a0217ccadcd188fcf Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60662 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/ec/google/chromeec/acpi/ec.asl')
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 69d608b65c..ef4054fa5d 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -178,22 +178,22 @@ Device (EC0)
Store (\_SB.PCI0.LPCB.EC0.TINS (Arg0), Local0)
/* Check for sensor not calibrated */
- If (LEqual (Local0, \_SB.PCI0.LPCB.EC0.TNCA)) {
+ If (Local0 == \_SB.PCI0.LPCB.EC0.TNCA) {
Return (Zero)
}
/* Check for sensor not present */
- If (LEqual (Local0, \_SB.PCI0.LPCB.EC0.TNPR)) {
+ If (Local0 == \_SB.PCI0.LPCB.EC0.TNPR) {
Return (Zero)
}
/* Check for sensor not powered */
- If (LEqual (Local0, \_SB.PCI0.LPCB.EC0.TNOP)) {
+ If (Local0 == \_SB.PCI0.LPCB.EC0.TNOP) {
Return (Zero)
}
/* Check for sensor bad reading */
- If (LEqual (Local0, \_SB.PCI0.LPCB.EC0.TBAD)) {
+ If (Local0 == \_SB.PCI0.LPCB.EC0.TBAD) {
Return (Zero)
}
@@ -539,7 +539,7 @@ Device (EC0)
* DDPN = 0 is reserved for backwards compatibility.
* If DDPN == 0 use TBMD to load appropriate DPTF table.
*/
- If (LEqual (^DDPN, 0)) {
+ If (^DDPN == 0) {
Return (^TBMD)
} Else {
Local0 = ^DDPN - 1