diff options
author | Patrick Venture <venture@google.com> | 2018-10-21 13:18:17 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-10-30 08:28:31 -0700 |
commit | 9f65a08f8c8774a7c6a7661f46fe4e4a02f5c393 (patch) | |
tree | 08168cd79bc7c5acec6703310f2923d435e53f63 /fru_area.cpp | |
parent | 8e19f5bc5c4a7c34775976133f01ec904660e75a (diff) | |
download | ipmi-fru-parser-9f65a08f8c8774a7c6a7661f46fe4e4a02f5c393.tar.gz ipmi-fru-parser-9f65a08f8c8774a7c6a7661f46fe4e4a02f5c393.zip |
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>
Diffstat (limited to 'fru_area.cpp')
-rw-r--r-- | fru_area.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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 @@ using namespace phosphor::logging; //---------------------------------------------------------------- // 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::setData(const uint8_t* value, const size_t length) 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; } //------------------- |