hwmonio: add underscore prefix to members

Add underscore prefix to members for hwmonio object.

Change-Id: Iab5aed5ddba3b1793bb16b0f1501a11ff95b7f35
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/hwmonio.cpp b/hwmonio.cpp
index 6c461b3..9142c18 100644
--- a/hwmonio.cpp
+++ b/hwmonio.cpp
@@ -71,7 +71,7 @@
     EMSGSIZE,
 };
 
-HwmonIO::HwmonIO(const std::string& path) : p(path)
+HwmonIO::HwmonIO(const std::string& path) : _p(path)
 {
 }
 
@@ -81,7 +81,7 @@
 {
     int64_t val;
     std::ifstream ifs;
-    auto fullPath = sysfs::make_sysfs_path(p, type, id, sensor);
+    auto fullPath = sysfs::make_sysfs_path(_p, type, id, sensor);
 
     ifs.exceptions(std::ifstream::failbit | std::ifstream::badbit |
                    std::ifstream::eofbit);
@@ -149,7 +149,7 @@
 
 {
     std::ofstream ofs;
-    auto fullPath = sysfs::make_sysfs_path(p, type, id, sensor);
+    auto fullPath = sysfs::make_sysfs_path(_p, type, id, sensor);
 
     ofs.exceptions(std::ofstream::failbit | std::ofstream::badbit |
                    std::ofstream::eofbit);
@@ -204,7 +204,7 @@
 
 std::string HwmonIO::path() const
 {
-    return p;
+    return _p;
 }
 
 } // namespace hwmonio
diff --git a/hwmonio.hpp b/hwmonio.hpp
index 902888f..f0c7248 100644
--- a/hwmonio.hpp
+++ b/hwmonio.hpp
@@ -107,7 +107,7 @@
     std::string path() const override;
 
   private:
-    std::string p;
+    std::string _p;
 };
 } // namespace hwmonio