From 372573eaff0f757f004de2f4fb3f688de93bbbba Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 16 Dec 2022 03:49:55 +0100 Subject: tree: Replace ShiftLeft(a,b) with ASL 2.0 syntax Replace `ShiftLeft (a, b)` with `a << b`. Change-Id: I812b1ed9dcf3a5749b39a9beb9f870258ad6a0de Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70842 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/ec/lenovo/h8/acpi/thinkpad.asl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ec/lenovo/h8/acpi') diff --git a/src/ec/lenovo/h8/acpi/thinkpad.asl b/src/ec/lenovo/h8/acpi/thinkpad.asl index 28431e8f03..f4b2dbd63e 100644 --- a/src/ec/lenovo/h8/acpi/thinkpad.asl +++ b/src/ec/lenovo/h8/acpi/thinkpad.asl @@ -109,7 +109,7 @@ Device (HKEY) /* Report tablet mode switch state */ Method (MHKG, 0, NotSerialized) { - Return (ShiftLeft(TBSW, 3)) + Return (TBSW << 3) } /* Mute audio */ @@ -167,7 +167,7 @@ Device (HKEY) { Or(Local0, 2, Local0) } - Or(Local0, ShiftLeft(WBDC, 2), Local0) + Or(Local0, WBDC << 2, Local0) Return (Local0) } Else { Return (0) @@ -209,7 +209,7 @@ Device (HKEY) { Or(Local0, 2, Local0) } - Or(Local0, ShiftLeft(WWAN, 2), Local0) + Or(Local0, WWAN << 2, Local0) Return (Local0) } Else { Return (0) -- cgit v1.2.3