summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-12 00:18:26 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 22:09:35 +0000
commit5c8a94ae9effa4612f34c1c774265a540f0e87f0 (patch)
tree3616f3c6a66d1fa2c794cf539c8f01525266a3b4 /src/ec/lenovo/h8/acpi
parent8f75d79e749fc1fd0edf180fd68df30f0f30f811 (diff)
ec/lenovo/h8/acpi: Replace LLessEqual(a,b) with ASL 2.0 syntax
Replace `LLessEqual (a, b)` with `a <= b`. Change-Id: I76855f9d4564fc08cd70456e2a0b1514cd73e35f Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70620 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/lenovo/h8/acpi')
-rw-r--r--src/ec/lenovo/h8/acpi/thermal.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/acpi/thermal.asl b/src/ec/lenovo/h8/acpi/thermal.asl
index bdc06425b4..3d4b718a96 100644
--- a/src/ec/lenovo/h8/acpi/thermal.asl
+++ b/src/ec/lenovo/h8/acpi/thermal.asl
@@ -13,7 +13,7 @@ Scope(\_TZ)
{
Local0 = Arg0 * 10
Local0 += 2732
- if (LLessEqual(Local0, 2732)) {
+ if (Local0 <= 2732) {
Return (3000)
}