ec/smsc/mec1308/acpi: Replace LGreater(a,b) with ASL 2.0 syntax

Replace `LGreater(a, b)` with `a > b`.

Change-Id: I04f3cc2dbba59d732c9c52a4b90a32481f9da337
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60684
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
Felix Singer 2022-01-02 01:58:20 +01:00
parent 6929403b88
commit 9bfbbe8b17
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ Device (BAT0)
// See if within ~3% of full // See if within ~3% of full
ShiftRight (Local2, 5, Local3) ShiftRight (Local2, 5, Local3)
If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3) If (Local1 > Local2 - Local3 && Local1 < Local2 + Local3)
{ {
Store (Local2, Local1) Store (Local2, Local1)
} }