dsp: pdr: Rename pldm_pdr_add_check()
Drop the `_check` suffix so it is now `pldm_pdr_add()`.
Change-Id: I9b32317f99a89acbe1cc0510380cd26badd145d6
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/src/dsp/pdr.c b/src/dsp/pdr.c
index 3f80d6a..ec95468 100644
--- a/src/dsp/pdr.c
+++ b/src/dsp/pdr.c
@@ -42,9 +42,9 @@
}
LIBPLDM_ABI_STABLE
-int pldm_pdr_add_check(pldm_pdr *repo, const uint8_t *data, uint32_t size,
- bool is_remote, uint16_t terminus_handle,
- uint32_t *record_handle)
+int pldm_pdr_add(pldm_pdr *repo, const uint8_t *data, uint32_t size,
+ bool is_remote, uint16_t terminus_handle,
+ uint32_t *record_handle)
{
uint32_t curr;
@@ -312,8 +312,8 @@
fru->entity_instance_num = htole16(entity_instance_num);
fru->container_id = htole16(container_id);
- return pldm_pdr_add_check(repo, data, size, false, terminus_handle,
- bmc_record_handle);
+ return pldm_pdr_add(repo, data, size, false, terminus_handle,
+ bmc_record_handle);
}
LIBPLDM_ABI_STABLE
@@ -836,8 +836,8 @@
node = node->next_sibling;
}
- return pldm_pdr_add_check(repo, pdr, size, is_remote, terminus_handle,
- &record_handle);
+ return pldm_pdr_add(repo, pdr, size, is_remote, terminus_handle,
+ &record_handle);
}
static int entity_association_pdr_add_entry(pldm_entity_node *curr,