Follow up on Todo, move path out of base sensor
Not every sensor needs a sysfs path, because of that
move it out of the base class and into the classes that
need it.
Change-Id: I62b7df681e1ee889eb66e371d1cd6094097e9f21
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/IpmbSensor.cpp b/src/IpmbSensor.cpp
index b8dd220..5c76e8b 100644
--- a/src/IpmbSensor.cpp
+++ b/src/IpmbSensor.cpp
@@ -57,9 +57,9 @@
std::vector<thresholds::Threshold>&& thresholdData,
uint8_t deviceAddress) :
Sensor(boost::replace_all_copy(sensorName, " ", "_"),
- "" /* todo: remove arg from base*/, std::move(thresholdData),
- sensorConfiguration, "xyz.openbmc_project.Configuration.ExitAirTemp",
- ipmbMaxReading, ipmbMinReading),
+ std::move(thresholdData), sensorConfiguration,
+ "xyz.openbmc_project.Configuration.ExitAirTemp", ipmbMaxReading,
+ ipmbMinReading),
objectServer(objectServer), dbusConnection(conn), waitTimer(io),
deviceAddress(deviceAddress)
{