Change fanName to sensorName as this is a sensor
I would appear that HwmonTempSensor.hpp was copied from TachSensor.hpp
clearly we are not a fan but a sensor, this is just a name change.
Tested: it builds and runs as expeted on Rainier.
Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com>
Change-Id: Ied4dd8e25ceae56b2f400077ba6205cf07ee0a8e
diff --git a/include/HwmonTempSensor.hpp b/include/HwmonTempSensor.hpp
index 5158a26..159e9b5 100644
--- a/include/HwmonTempSensor.hpp
+++ b/include/HwmonTempSensor.hpp
@@ -16,7 +16,7 @@
HwmonTempSensor(const std::string& path, const std::string& objectType,
sdbusplus::asio::object_server& objectServer,
std::shared_ptr<sdbusplus::asio::connection>& conn,
- boost::asio::io_service& io, const std::string& fanName,
+ boost::asio::io_service& io, const std::string& sensorName,
std::vector<thresholds::Threshold>&& thresholds,
const float pollRate,
const std::string& sensorConfiguration,