diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-02 03:54:23 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:19:14 +0000 |
commit | cdba42c69cdebf0506bd615e9420cc3f9e7f557f (patch) | |
tree | adc5265e45006bb80d38bcb9a80eb1466a0b1bab /src/ec/smsc | |
parent | 9bfbbe8b170365ea34116557f43e5f8415a95160 (diff) |
ec/smsc/mec1308/acpi: Replace LLessEqual(a,b) with ASL 2.0 syntax
Replace `LLessEqual(a, b)` with `a <= b`.
Change-Id: Ib4e81ea95c6fda0e8f8640671db5ce56f3a1b474
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60707
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec/smsc')
-rw-r--r-- | src/ec/smsc/mec1308/acpi/ec.asl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ec/smsc/mec1308/acpi/ec.asl b/src/ec/smsc/mec1308/acpi/ec.asl index 23b4c692d6..7394733425 100644 --- a/src/ec/smsc/mec1308/acpi/ec.asl +++ b/src/ec/smsc/mec1308/acpi/ec.asl @@ -75,7 +75,7 @@ Device (EC0) PowerResource (FNP0, 0, 0) { Method (_STA) { - If (LLessEqual (\FLVL, 0)) { + If (\FLVL <= 0) { Return (One) } Else { Return (Zero) @@ -100,7 +100,7 @@ Device (EC0) PowerResource (FNP1, 0, 0) { Method (_STA) { - If (LLessEqual (\FLVL, 1)) { + If (\FLVL <= 1) { Return (One) } Else { Return (Zero) @@ -125,7 +125,7 @@ Device (EC0) PowerResource (FNP2, 0, 0) { Method (_STA) { - If (LLessEqual (\FLVL, 2)) { + If (\FLVL <= 2) { Return (One) } Else { Return (Zero) @@ -150,7 +150,7 @@ Device (EC0) PowerResource (FNP3, 0, 0) { Method (_STA) { - If (LLessEqual (\FLVL, 3)) { + If (\FLVL <= 3) { Return (One) } Else { Return (Zero) @@ -175,7 +175,7 @@ Device (EC0) PowerResource (FNP4, 0, 0) { Method (_STA) { - If (LLessEqual (\FLVL, 4)) { + If (\FLVL <= 4) { Return (One) } Else { Return (Zero) |