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/pid/builder.cpp b/pid/builder.cpp
index 7b67795..58ef8df 100644
--- a/pid/builder.cpp
+++ b/pid/builder.cpp
@@ -30,13 +30,13 @@
static constexpr bool deferSignals = true;
static constexpr auto objectPath = "/xyz/openbmc_project/settings/fanctrl/zone";
-static std::string GetControlPath(int64_t zone)
+static std::string getControlPath(int64_t zone)
{
return std::string(objectPath) + std::to_string(zone);
}
std::unordered_map<int64_t, std::unique_ptr<PIDZone>>
- BuildZones(std::map<int64_t, PIDConf>& zonePids,
+ buildZones(std::map<int64_t, PIDConf>& zonePids,
std::map<int64_t, struct ZoneConfig>& zoneConfigs,
SensorManager& mgr, sdbusplus::bus::bus& modeControlBus)
{
@@ -65,7 +65,7 @@
auto zone = std::make_unique<PIDZone>(
zoneId, zoneConf->second.minthermalrpm,
zoneConf->second.failsafepercent, mgr, modeControlBus,
- GetControlPath(zi.first).c_str(), deferSignals);
+ getControlPath(zi.first).c_str(), deferSignals);
std::cerr << "Zone Id: " << zone->getZoneId() << "\n";