diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-30 02:48:14 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2021-12-31 09:01:57 +0000 |
commit | 5f013f7eb23edf80416af3d9f04617d7792a528a (patch) | |
tree | 7a540e8a5a13934b3781fb38544461318294549b /src/ec/smsc | |
parent | f3c313b47cdb93e17f538cf6b8fc3f46e6888dae (diff) |
ec/smsc/mec1308/acpi: Replace Add(a,b) with ASL 2.0 syntax
Replace `Add (a, b)` with `a + b`.
Change-Id: I82a960f9b5748ccdde3c07b78963b44b8dbef37e
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60505
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/ec/smsc')
-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 603b1d41a1..2aa5acea71 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl @@ -158,7 +158,7 @@ Device (BAT0) // See if within ~3% of full ShiftRight (Local2, 5, Local3) If (LGreater (Local1, Local2 - Local3) && - LLess (Local1, Add (Local2, Local3))) + LLess (Local1, Local2 + Local3)) { Store (Local2, Local1) } |