Rename function
A future commit will add a new function to find the
hwmon device from a different type of path, so clarify
the current function name in preparation.
Tested: Compiled
Change-Id: I3c990f4a91b12e592e22818b085dcd3736e5fcde
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/sysfs.hpp b/sysfs.hpp
index 3bcca53..e673205 100644
--- a/sysfs.hpp
+++ b/sysfs.hpp
@@ -39,7 +39,7 @@
const std::string& iochanneldir,
const std::string& phandledir);
-/** @brief Find hwmon instances
+/** @brief Find hwmon instances from an open-firmware device tree path
*
* Look for a matching hwmon instance given an
* open firmware device path.
@@ -49,7 +49,7 @@
* @returns[in] - The hwmon instance path or an empty
* string if no match is found.
*/
-std::string findHwmon(const std::string& ofNode);
+std::string findHwmonFromOFPath(const std::string& ofNode);
/** @brief Return the path to use for a call out.
*