Move dbus connection into base sensor object
This seems common through most sensors, might as
well move it for consistency.
Tested: sensors operational as normal
Change-Id: I4e6c55cbb7171ee51700015f8c2ef8c05c90fb4e
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/TachSensor.cpp b/src/TachSensor.cpp
index acfe659..d39e92c 100644
--- a/src/TachSensor.cpp
+++ b/src/TachSensor.cpp
@@ -53,7 +53,7 @@
const std::pair<size_t, size_t>& limits,
const PowerState& powerState) :
Sensor(boost::replace_all_copy(fanName, " ", "_"), std::move(_thresholds),
- sensorConfiguration, objectType, limits.second, limits.first,
+ sensorConfiguration, objectType, limits.second, limits.first, conn,
powerState),
objServer(objectServer), redundancy(redundancy),
presence(std::move(presenceSensor)),