dsp: bios_table: Rename pldm_bios_table_attr_entry_enum_decode_def_num_check()

Introduce pldm_bios_table_attr_entry_enum_decode_def_num(), deprecate
pldm_bios_table_attr_entry_enum_decode_def_num_check(), add the rename
configuration and apply it.

gitlint-ignore: T1
Change-Id: Ia0eec8050e39f2ee45c350386af32bd5c37135c5
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/tests/dsp/bios_table.cpp b/tests/dsp/bios_table.cpp
index b2f9fa2..37c1a09 100644
--- a/tests/dsp/bios_table.cpp
+++ b/tests/dsp/bios_table.cpp
@@ -106,9 +106,8 @@
     EXPECT_EQ(rc, PLDM_SUCCESS);
 
     uint8_t defNumber;
-    ASSERT_EQ(
-        pldm_bios_table_attr_entry_enum_decode_def_num_check(entry, &defNumber),
-        PLDM_SUCCESS);
+    ASSERT_EQ(pldm_bios_table_attr_entry_enum_decode_def_num(entry, &defNumber),
+              PLDM_SUCCESS);
     EXPECT_EQ(defNumber, 1);
     std::vector<uint8_t> defIndices(defNumber);
     rc = pldm_bios_table_attr_entry_enum_decode_def_indices(
@@ -117,22 +116,20 @@
     EXPECT_THAT(defIndices, ElementsAreArray({1}));
 
     defNumber = 0;
-    rc =
-        pldm_bios_table_attr_entry_enum_decode_def_num_check(entry, &defNumber);
+    rc = pldm_bios_table_attr_entry_enum_decode_def_num(entry, &defNumber);
     EXPECT_EQ(rc, PLDM_SUCCESS);
     EXPECT_EQ(defNumber, 1);
 
     rc = pldm_bios_table_attr_entry_enum_decode_pv_num(nullptr, &pvNumber);
     EXPECT_EQ(rc, PLDM_ERROR_INVALID_DATA);
-    rc = pldm_bios_table_attr_entry_enum_decode_def_num_check(entry, nullptr);
+    rc = pldm_bios_table_attr_entry_enum_decode_def_num(entry, nullptr);
     EXPECT_EQ(rc, PLDM_ERROR_INVALID_DATA);
 
     entry->attr_type = PLDM_BIOS_STRING;
     rc = pldm_bios_table_attr_entry_enum_decode_pv_num(entry, &pvNumber);
     EXPECT_EQ(rc, PLDM_ERROR_INVALID_DATA);
 
-    rc =
-        pldm_bios_table_attr_entry_enum_decode_def_num_check(entry, &defNumber);
+    rc = pldm_bios_table_attr_entry_enum_decode_def_num(entry, &defNumber);
     EXPECT_EQ(rc, PLDM_ERROR_INVALID_DATA);
     rc =
         pldm_bios_table_attr_entry_enum_decode_pv_hdls_check(entry, nullptr, 0);