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/sensors/builder.cpp b/sensors/builder.cpp
index 2d8154a..15d479c 100644
--- a/sensors/builder.cpp
+++ b/sensors/builder.cpp
@@ -37,7 +37,7 @@
 static DbusHelper helper;
 
 SensorManager
-    BuildSensors(const std::map<std::string, struct SensorConfig>& config)
+    buildSensors(const std::map<std::string, struct SensorConfig>& config)
 {
     SensorManager mgmr;
     auto& HostSensorBus = mgmr.getHostBus();
@@ -54,8 +54,8 @@
         std::cerr << "Sensor: " << name << " " << info->type << " ";
         std::cerr << info->readpath << " " << info->writepath << "\n";
 
-        IOInterfaceType rtype = GetReadInterfaceType(info->readpath);
-        IOInterfaceType wtype = GetWriteInterfaceType(info->writepath);
+        IOInterfaceType rtype = getReadInterfaceType(info->readpath);
+        IOInterfaceType wtype = getWriteInterfaceType(info->writepath);
 
         // fan sensors can be ready any way and written others.
         // fan sensors are the only sensors this is designed to write.
diff --git a/sensors/builder.hpp b/sensors/builder.hpp
index fdf1c9b..d646223 100644
--- a/sensors/builder.hpp
+++ b/sensors/builder.hpp
@@ -10,4 +10,4 @@
  * Build the sensors and associate them with a SensorManager.
  */
 SensorManager
-    BuildSensors(const std::map<std::string, struct SensorConfig>& config);
+    buildSensors(const std::map<std::string, struct SensorConfig>& config);
diff --git a/sensors/builderconfig.cpp b/sensors/builderconfig.cpp
index f87e572..0c6ed68 100644
--- a/sensors/builderconfig.cpp
+++ b/sensors/builderconfig.cpp
@@ -29,7 +29,7 @@
  * parsing.  I should just ditch the compile-time version to reduce the
  * probability of sync bugs.
  */
-SensorManager BuildSensorsFromConfig(const std::string& path)
+SensorManager buildSensorsFromConfig(const std::string& path)
 {
     using namespace libconfig;
 
@@ -110,5 +110,5 @@
         throw;
     }
 
-    return BuildSensors(config);
+    return buildSensors(config);
 }
diff --git a/sensors/builderconfig.hpp b/sensors/builderconfig.hpp
index 649ca70..da5306f 100644
--- a/sensors/builderconfig.hpp
+++ b/sensors/builderconfig.hpp
@@ -8,4 +8,4 @@
  * Given a configuration file, parsable by libconfig++, parse it and then pass
  * the information onto BuildSensors.
  */
-SensorManager BuildSensorsFromConfig(const std::string& path);
+SensorManager buildSensorsFromConfig(const std::string& path);