diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-31 14:36:45 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-01-01 14:25:54 +0000 |
commit | e81d12e866d2cb8fe8b2394ee2fe77b8da9b9dda (patch) | |
tree | 2695cc0a85ba9deb687eec9fb38a98d3dd791d72 /src/ec/smsc/mec1308/acpi | |
parent | 1a6925cd7cd2cfa630c50645700c014d42c77946 (diff) |
ec/smsc/mec1308/acpi: Replace LNot() with ASL 2.0 syntax
Replace `LNot (a)` with `!a`.
Change-Id: I16e30f4a774c8ffca3bdbbf57c9a0c6f6d3ca72c
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60597
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/ec/smsc/mec1308/acpi')
-rw-r--r-- | src/ec/smsc/mec1308/acpi/battery.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl index 59d6c4f69e..0cc41a178b 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl @@ -148,7 +148,7 @@ Device (BAT0) Local1++ } - If (BFWK && ACEX && LNot (Local0)) { + If (BFWK && ACEX && !Local0) { // On AC power and battery is neither charging // nor discharging. Linux expects a full battery // to report same capacity as last full charge. |