From c253368e46c2194a73051d46ee40e1098bf26be2 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 01:56:53 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60683 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/ec/lenovo/h8/acpi/thermal.asl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ec/lenovo') 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) -- cgit v1.2.1