fan_speed: add underscore prefix to members
Add underscore prefix to members for fan_speed object.
Change-Id: I9a3c444fe31ffc4f15e15eefc15dc652d3b209f1
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/fan_speed.hpp b/fan_speed.hpp
index 96d408e..4b79b2a 100644
--- a/fan_speed.hpp
+++ b/fan_speed.hpp
@@ -34,7 +34,7 @@
sdbusplus::bus::bus& bus, const char* objPath, bool defer,
uint64_t target) :
FanSpeedObject(bus, objPath, defer),
- id(id), ioAccess(std::move(io)), devPath(devPath)
+ _id(id), _ioAccess(std::move(io)), _devPath(devPath)
{
FanSpeedObject::target(target);
}
@@ -54,13 +54,13 @@
private:
/** @brief hwmon type */
- static constexpr auto type = "fan";
+ static constexpr auto _type = "fan";
/** @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