style: apply naming convention to ipmi_validate_fru_area

Apply openbmc style naming convention to ipmi_validate_fru_area as part
of a multi-step cleanup process.

Change-Id: I082189030441e57579d072501279ff698fe1b7e3
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/readeeprom.cpp b/readeeprom.cpp
index 96a8cc1..a9dd91d 100644
--- a/readeeprom.cpp
+++ b/readeeprom.cpp
@@ -69,8 +69,7 @@
         // Now that we have the file that contains the eeprom data, go read it
         // and update the Inventory DB.
         bool bmc_fru = true;
-        rc = ipmi_validate_fru_area(fruid, eeprom_file.c_str(), bus_type,
-                                    bmc_fru);
+        rc = validateFRUArea(fruid, eeprom_file.c_str(), bus_type, bmc_fru);
     }
 
     // Cleanup
diff --git a/strgfnhandler.cpp b/strgfnhandler.cpp
index a7c4b42..a00fc73 100644
--- a/strgfnhandler.cpp
+++ b/strgfnhandler.cpp
@@ -101,7 +101,7 @@
     // We received some bytes. It may be full or partial. Send a valid
     // FRU file to the inventory controller on DBus for the correct number
     bool bmc_fru = false;
-    ipmi_validate_fru_area(reqptr->frunum, fru_file_name, bus_type, bmc_fru);
+    validateFRUArea(reqptr->frunum, fru_file_name, bus_type, bmc_fru);
 
     return rc;
 }
diff --git a/writefrudata.cpp b/writefrudata.cpp
index 704df12..84d7527 100644
--- a/writefrudata.cpp
+++ b/writefrudata.cpp
@@ -581,8 +581,8 @@
 ///-----------------------------------------------------
 // Accepts the filename and validates per IPMI FRU spec
 //----------------------------------------------------
-int ipmi_validate_fru_area(const uint8_t fruid, const char* fru_file_name,
-                           sd_bus* bus_type, const bool bmc_fru)
+int validateFRUArea(const uint8_t fruid, const char* fru_file_name,
+                    sd_bus* bus_type, const bool bmc_fru)
 {
     size_t data_len = 0;
     size_t bytes_read = 0;
diff --git a/writefrudata.hpp b/writefrudata.hpp
index 1f3e49f..e713bd5 100644
--- a/writefrudata.hpp
+++ b/writefrudata.hpp
@@ -49,7 +49,7 @@
  * @param[in] bus_type - a systemd bus for publishing the information.
  * @param[in] bmc_fru - If a particular area accessible only by BMC.
  */
-int ipmi_validate_fru_area(const uint8_t fruid, const char* fru_file_name,
-                           sd_bus* bus_type, const bool bmc_fru);
+int validateFRUArea(const uint8_t fruid, const char* fru_file_name,
+                    sd_bus* bus_type, const bool bmc_fru);
 
 #endif