summaryrefslogtreecommitdiffstats
path: root/control/fan.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'control/fan.hpp')
-rw-r--r--control/fan.hpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/control/fan.hpp b/control/fan.hpp
index e7f3067..3e05e16 100644
--- a/control/fan.hpp
+++ b/control/fan.hpp
@@ -59,15 +59,6 @@ class Fan
private:
/**
- * Returns the service name to use for interacting
- * with the fan sensor passed in.
- *
- * @param[in] sensor - the fan tach sensor name
- * @return - the service name
- */
- std::string getService(const std::string& sensor);
-
- /**
* The dbus object
*/
sdbusplus::bus::bus& _bus;
@@ -78,9 +69,9 @@ class Fan
std::string _name;
/**
- * Vector of hwmon sensors for the rotors
+ * Map of hwmon target sensors to the service providing them
*/
- std::vector<std::string> _sensors;
+ std::map<std::string, std::string> _sensors;
/**
* The interface of the fan target
OpenPOWER on IntegriCloud