fan_pwm: add underscore prefix to members
Add underscore prefix to members for fan_pwm object.
Change-Id: Ic90d20b6e3881e8b7efe08fde3a08607d7bc6a38
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/fan_pwm.hpp b/fan_pwm.hpp
index e80dde0..7aa2a75 100644
--- a/fan_pwm.hpp
+++ b/fan_pwm.hpp
@@ -33,7 +33,7 @@
sdbusplus::bus::bus& bus, const char* objPath, bool defer,
uint64_t target) :
FanPwmObject(bus, objPath, defer),
- id(id), ioAccess(std::move(io)), devPath(devPath)
+ _id(id), _ioAccess(std::move(io)), _devPath(devPath)
{
FanPwmObject::target(target);
}
@@ -47,13 +47,13 @@
private:
/** @brief hwmon type */
- static constexpr auto type = "pwm";
+ static constexpr auto _type = "pwm";
/** @brief hwmon id */
- std::string id;
+ std::string _id;
/** @brief Hwmon sysfs access. */
- std::unique_ptr<hwmonio::HwmonIOInterface> ioAccess;
+ std::unique_ptr<hwmonio::HwmonIOInterface> _ioAccess;
/** @brief Physical device path. */
- std::string devPath;
+ std::string _devPath;
};
} // namespace hwmon