IPMIFruArea: rename member variables per openbmc style
OpenBMC style dictates member variables be lower camel and not snake
case.
Change-Id: I3e217b51f910612c3e5ecf1480340a27ef29d774
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/fru_area.cpp b/fru_area.cpp
index b983b53..b5d8960 100644
--- a/fru_area.cpp
+++ b/fru_area.cpp
@@ -11,10 +11,10 @@
//----------------------------------------------------------------
// Constructor
//----------------------------------------------------------------
-IPMIFruArea::IPMIFruArea(const uint8_t fruid, const ipmi_fru_area_type type,
- bool bmc_fru) :
- fruid(fruid),
- type(type), bmc_fru(bmc_fru)
+IPMIFruArea::IPMIFruArea(const uint8_t fruID, const ipmi_fru_area_type type,
+ bool bmcOnlyFru) :
+ fruID(fruID),
+ type(type), bmcOnlyFru(bmcOnlyFru)
{
if (type == IPMI_FRU_AREA_INTERNAL_USE)
{
@@ -60,9 +60,9 @@
void IPMIFruArea::updateDbusPaths(const char* bus, const char* path,
const char* intf)
{
- bus_name = bus;
- obj_path = path;
- intf_name = intf;
+ busName = bus;
+ objectPath = path;
+ interfaceName = intf;
}
//-------------------