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>
This commit is contained in:
Felix Singer 2021-12-31 14:36:45 +01:00
parent 1a6925cd7c
commit e81d12e866
1 changed files with 1 additions and 1 deletions

View File

@ -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.