diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-02 01:56:53 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:02:13 +0000 |
commit | c253368e46c2194a73051d46ee40e1098bf26be2 (patch) | |
tree | 078fb0beb23a8ecf9fd6800d89f673d02cca7f5a /src/ec | |
parent | 95bfa033c721a2ec9a4bd158b3cc545802e19464 (diff) |
ec/lenovo/h8/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`.
Change-Id: I1dbe6c325ed33a4dd15e4d6315b2308d8351974e
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60683
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/lenovo/h8/acpi/thermal.asl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/lenovo/h8/acpi/thermal.asl b/src/ec/lenovo/h8/acpi/thermal.asl index 78890ebef6..a1276fcd1f 100644 --- a/src/ec/lenovo/h8/acpi/thermal.asl +++ b/src/ec/lenovo/h8/acpi/thermal.asl @@ -17,7 +17,7 @@ Scope(\_TZ) Return (3000) } - if (LGreater(Local0, 4012)) { + if (Local0 > 4012) { Return (3000) } Return (Local0) @@ -47,7 +47,7 @@ External (\PPKG, MethodObj) /* Get critical temperature in degree celsius */ Method (GCRT, 0, NotSerialized) { Store (\TCRT, Local0) - if (LGreater (Local0, 0)) { + if (Local0 > 0) { Return (Local0) } Return (127) @@ -56,7 +56,7 @@ External (\PPKG, MethodObj) /* Get passive temperature in degree celsius */ Method (GPSV, 0, NotSerialized) { Store (\TPSV, Local0) - if (LGreater (Local0, 0)) { + if (Local0 > 0) { Return (Local0) } Return (95) |