style: fixup naming of structures
Fixup naming of structures to UpperCamel.
Change-Id: I6a9bf0b954298089c85d3362e86cd95b3fc5b944
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/sensors/builder.cpp b/sensors/builder.cpp
index 7927dd0..a43a731 100644
--- a/sensors/builder.cpp
+++ b/sensors/builder.cpp
@@ -36,7 +36,8 @@
static constexpr bool deferSignals = true;
static DbusHelper helper;
-SensorManager BuildSensors(const std::map<std::string, struct sensor>& config)
+SensorManager
+ BuildSensors(const std::map<std::string, struct SensorConfig>& config)
{
SensorManager mgmr;
auto& HostSensorBus = mgmr.getHostBus();
@@ -48,7 +49,7 @@
std::unique_ptr<WriteInterface> wi;
std::string name = it.first;
- const struct sensor* info = &it.second;
+ const struct SensorConfig* info = &it.second;
std::cerr << "Sensor: " << name << " " << info->type << " ";
std::cerr << info->readpath << " " << info->writepath << "\n";