From d25277666829d7ed9897598d3ed46fdee0613106 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 16 Dec 2022 07:54:16 +0100 Subject: tree: Replace And(a,b) with ASL 2.0 syntax Replace `And (a, b)` with `a & b`. Change-Id: Id8bbd1a477e6286bbcb5fa31afd1c7a860b1c7dc Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70851 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/ec/google/chromeec/acpi/battery.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ec/google/chromeec') diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl index a98117126b..5e881e54c8 100644 --- a/src/ec/google/chromeec/acpi/battery.asl +++ b/src/ec/google/chromeec/acpi/battery.asl @@ -44,7 +44,7 @@ Method (BSTA, 1, Serialized) Return (Zero) } - If (And(Not(BTSW (Arg0)), BTEX)) { + If (Not(BTSW (Arg0)) & BTEX) { Local0 = 0x1F } Else { Local0 = 0x0F -- cgit v1.2.3