summaryrefslogtreecommitdiffstats
path: root/fru_area.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-20 20:59:07 -0700
committerPatrick Venture <venture@google.com>2018-10-29 09:07:39 -0700
commitf22b36a061e4713c75233a68a86b81ed25d1e6a3 (patch)
treeff7c45a83a2624365d6466e98ef30ba2c61797c8 /fru_area.cpp
parent524ba9c1bd349141c79f213c56afc3b25f699593 (diff)
downloadipmi-fru-parser-f22b36a061e4713c75233a68a86b81ed25d1e6a3.tar.gz
ipmi-fru-parser-f22b36a061e4713c75233a68a86b81ed25d1e6a3.zip
IPMIFruArea: apply naming convention to member functions
Apply naming convention to member functions. Change-Id: I3b0516592dd4225f7be43c3d9cdcc9c8853d20b7 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'fru_area.cpp')
-rw-r--r--fru_area.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fru_area.cpp b/fru_area.cpp
index 8b09968..b983b53 100644
--- a/fru_area.cpp
+++ b/fru_area.cpp
@@ -47,7 +47,7 @@ IPMIFruArea::IPMIFruArea(const uint8_t fruid, const ipmi_fru_area_type type,
// For a FRU area type, accepts the data and updates
// area specific data.
//-----------------------------------------------------
-void IPMIFruArea::set_data(const uint8_t* value, const size_t length)
+void IPMIFruArea::setData(const uint8_t* value, const size_t length)
{
len = length;
data = new uint8_t[len];
@@ -57,8 +57,8 @@ void IPMIFruArea::set_data(const uint8_t* value, const size_t length)
//-----------------------------------------------------
// Sets the dbus parameters
//-----------------------------------------------------
-void IPMIFruArea::update_dbus_paths(const char* bus, const char* path,
- const char* intf)
+void IPMIFruArea::updateDbusPaths(const char* bus, const char* path,
+ const char* intf)
{
bus_name = bus;
obj_path = path;
OpenPOWER on IntegriCloud