summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseFdtLib/FdtLib.c
diff options
context:
space:
mode:
authorLeif Lindholm <quic_llindhol@quicinc.com>2024-09-30 12:52:35 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-10-02 02:58:31 +0000
commit8040fdbb8b8bbca8a3bb19ecc2b01918ffa8c235 (patch)
treeb8ffd07646fe795bd9e722815f844d972daca648 /MdePkg/Library/BaseFdtLib/FdtLib.c
parentbf7dbf6380a5ae349bc833cd1d7378c3a78b718b (diff)
downloadedk2-8040fdbb8b8bbca8a3bb19ecc2b01918ffa8c235.tar.gz
edk2-8040fdbb8b8bbca8a3bb19ecc2b01918ffa8c235.tar.bz2
edk2-8040fdbb8b8bbca8a3bb19ecc2b01918ffa8c235.zip
MdePkg: consistently use "Property" in BaseFdtLib
There is currently a mix on functions named as Prop or Property. The latter is in majority, and the better fit for tianocore coding style, so rename FdtNodeOffsetByPropValue () and FdtSetProp () for consistency. To avoid breaking bisect, change existing users in UefiPayloadPkg. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com>
Diffstat (limited to 'MdePkg/Library/BaseFdtLib/FdtLib.c')
-rw-r--r--MdePkg/Library/BaseFdtLib/FdtLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseFdtLib/FdtLib.c b/MdePkg/Library/BaseFdtLib/FdtLib.c
index 7d26959c7c..b1ae2a387c 100644
--- a/MdePkg/Library/BaseFdtLib/FdtLib.c
+++ b/MdePkg/Library/BaseFdtLib/FdtLib.c
@@ -283,7 +283,7 @@ FdtSubnodeOffsetNameLen (
**/
INT32
EFIAPI
-FdtNodeOffsetByPropValue (
+FdtNodeOffsetByPropertyValue (
IN CONST VOID *Fdt,
IN INT32 StartOffset,
IN CONST CHAR8 *PropertyName,
@@ -433,7 +433,7 @@ FdtAddSubnode (
**/
INT32
EFIAPI
-FdtSetProp (
+FdtSetProperty (
IN VOID *Fdt,
IN INT32 NodeOffset,
IN CONST CHAR8 *Name,