summaryrefslogtreecommitdiffstats
path: root/sysfs.cpp
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-03-05 12:01:48 -0600
committerMatt Spinler <spinler@us.ibm.com>2018-03-05 12:10:19 -0600
commit31dbe06252d4fe41815fe783e4f720ce0333cef3 (patch)
treea16cb35206469a34eadb33e990c863e1b7cfd3b2 /sysfs.cpp
parenta7e2c1e5c1e94246ae55313fc361d30b0e1a6165 (diff)
downloadphosphor-hwmon-31dbe06252d4fe41815fe783e4f720ce0333cef3.tar.gz
phosphor-hwmon-31dbe06252d4fe41815fe783e4f720ce0333cef3.zip
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>
Diffstat (limited to 'sysfs.cpp')
-rw-r--r--sysfs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysfs.cpp b/sysfs.cpp
index af5f86a..4ea32b2 100644
--- a/sysfs.cpp
+++ b/sysfs.cpp
@@ -197,7 +197,7 @@ std::string findCalloutPath(const std::string& instancePath)
return emptyString;
}
-std::string findHwmon(const std::string& ofNode)
+std::string findHwmonFromOFPath(const std::string& ofNode)
{
static constexpr auto hwmonRoot = "/sys/class/hwmon";
OpenPOWER on IntegriCloud