diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-30 02:50:41 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2021-12-31 09:02:47 +0000 |
commit | f59d76175a52f8dece49bbf6155f77d6b4f04ac2 (patch) | |
tree | 3511c0c269b47d268e9d678b95c09f441a8335fc /src/ec/kontron/it8516e/acpi | |
parent | d8cf9626e802a49a16b8455e86a8f6d618cbe1ea (diff) |
ec/kontron/it8516e/acpi: Replace Add(a,b) with ASL 2.0 syntax
Replace `Add (a, b)` with `a + b`.
Change-Id: Ie1c21437a0d97ff1039775adcb915547fac71bf5
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60507
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/ec/kontron/it8516e/acpi')
-rw-r--r-- | src/ec/kontron/it8516e/acpi/pm_channels.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/kontron/it8516e/acpi/pm_channels.asl b/src/ec/kontron/it8516e/acpi/pm_channels.asl index ebfd87289b..9217406f57 100644 --- a/src/ec/kontron/it8516e/acpi/pm_channels.asl +++ b/src/ec/kontron/it8516e/acpi/pm_channels.asl @@ -36,7 +36,7 @@ Device (PM1) { Return (0) } Multiply (Local0, 10, Local0) /* Convert to 10th °C */ - Return (Add (Local0, 2732)) /* Return as 10th Kelvin */ + Return (Local0 + 2732) /* Return as 10th Kelvin */ } } #endif @@ -92,7 +92,7 @@ Device (PM2) { Or (ShiftLeft (Local1, 8), Local0, Local0) Store (Divide (Multiply (Local0, 10), 64), Local0) /* Convert to 10th °C */ - Return (Add (Local0, 2732)) /* Return as 10th Kelvin */ + Return (Local0 + 2732) /* Return as 10th Kelvin */ } } #endif |