style: function names should be lower camel
Fix function names to be lower camel.
Change-Id: I145e1f4c03d7740bc1525dcffbdce2f78fd61075
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/dbus/util.cpp b/dbus/util.cpp
index 080f39a..23f06fd 100644
--- a/dbus/util.cpp
+++ b/dbus/util.cpp
@@ -143,7 +143,7 @@
return asserted;
}
-std::string GetSensorPath(const std::string& type, const std::string& id)
+std::string getSensorPath(const std::string& type, const std::string& id)
{
std::string layer = type;
if (type == "fan")
@@ -162,16 +162,16 @@
return std::string("/xyz/openbmc_project/sensors/" + layer + "/" + id);
}
-std::string GetMatch(const std::string& type, const std::string& id)
+std::string getMatch(const std::string& type, const std::string& id)
{
return std::string("type='signal',"
"interface='org.freedesktop.DBus.Properties',"
"member='PropertiesChanged',"
"path='" +
- GetSensorPath(type, id) + "'");
+ getSensorPath(type, id) + "'");
}
-bool ValidType(const std::string& type)
+bool validType(const std::string& type)
{
static std::set<std::string> valid = {"fan", "temp"};
return (valid.find(type) != valid.end());