cleanup: rename variable per openbmc style
Rename PIDConfig to pidConfig per OpenBMC style guide.
Change-Id: I41c431b7162af6c49f4a43adb548f0b6ed04e3dc
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/pid/builder.cpp b/pid/builder.cpp
index 1e7a737..5d8f62f 100644
--- a/pid/builder.cpp
+++ b/pid/builder.cpp
@@ -60,7 +60,7 @@
throw std::runtime_error(err);
}
- const PIDConf& PIDConfig = zi.second;
+ const PIDConf& pidConfig = zi.second;
auto zone = std::make_unique<PIDZone>(
zoneId, zoneConf->second.minthermalrpm,
@@ -70,7 +70,7 @@
std::cerr << "Zone Id: " << zone->getZoneId() << "\n";
// For each PID create a Controller and a Sensor.
- for (const auto& pit : PIDConfig)
+ for (const auto& pit : pidConfig)
{
std::vector<std::string> inputs;
std::string name = pit.first;