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/readd.cpp b/readd.cpp
index c7d0466..454ac62 100644
--- a/readd.cpp
+++ b/readd.cpp
@@ -37,7 +37,7 @@
auto path = (*options)["of-name"];
if (path != ArgumentParser::empty_string)
{
- path = sysfs::findHwmon(path);
+ path = sysfs::findHwmonFromOFPath(path);
}
if (path == ArgumentParser::empty_string)