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/test/find_hwmon.cpp b/test/find_hwmon.cpp
index fbb203f..1142ad1 100644
--- a/test/find_hwmon.cpp
+++ b/test/find_hwmon.cpp
@@ -27,7 +27,7 @@
try
{
- std::cout << sysfs::findHwmon(argv[1]) << '\n';
+ std::cout << sysfs::findHwmonFromOFPath(argv[1]) << '\n';
}
catch (const std::exception& e)
{