diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 09:43:07 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:06:47 +0000 |
commit | 9df60d36b2637c500030e7c9cef620002f7f47bf (patch) | |
tree | ee8b6e961747141ca37db831680fb3f371e4782a /src/soc/amd/common/acpi | |
parent | 42efd7f593c9d270ff330d1282d9c569d1ec709a (diff) |
tree/acpi: Replace constant "Zero" with actual number
Change-Id: I5a3e3506415f424bf0fdd48fc449520a76622af5
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71525
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/acpi')
-rw-r--r-- | src/soc/amd/common/acpi/dptc.asl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/amd/common/acpi/dptc.asl b/src/soc/amd/common/acpi/dptc.asl index aa70050ff3..84238d99a8 100644 --- a/src/soc/amd/common/acpi/dptc.asl +++ b/src/soc/amd/common/acpi/dptc.asl @@ -11,7 +11,7 @@ Scope (\_SB) /* If _SB.DDEF is not present, DPTC is not enabled so return early. */ If (!CondRefOf (\_SB.DDEF)) { - Return (Zero) + Return (0) } /* If _SB.DTHL is not present, then DPTC Tablet Mode is not enabled. @@ -21,14 +21,14 @@ Scope (\_SB) (!\_SB.PCI0.LPCB.EC0.BTEX || \_SB.PCI0.LPCB.EC0.BFCR || \_SB.PCI0.LPCB.EC0.BFCT)) { \_SB.DTHL() - Return (Zero) + Return (0) } /* If _SB.DTAB is not present, then DPTC Tablet Mode is not enabled. */ If (CondRefOf (\_SB.DTAB) && (\_SB.PCI0.LPCB.EC0.TBMD == 1)) { \_SB.DTAB() - Return (Zero) + Return (0) } #if CONFIG(FEATURE_DYNAMIC_DPTC) @@ -36,6 +36,6 @@ Scope (\_SB) #else \_SB.DDEF() #endif - Return (Zero) + Return (0) } } |