commit | 4afb285e5ab2d708f78949a84608306b8f2568ee | [log] [tgz] |
---|---|---|
author | Shawn McCarney <shawnmm@us.ibm.com> | Sun Oct 27 18:28:53 2019 -0500 |
committer | Shawn McCarney <shawnmm@us.ibm.com> | Wed Oct 30 16:05:04 2019 -0500 |
tree | a49a6644d9ca7481dc78e25093f2546907e304a5 | |
parent | a2461b349db989190f8a09ea42f6dbb563692a32 [diff] |
Conform regulator methods to acronym conventions Change regulator class methods to conform to OpenBMC capitalization conventions for acronyms. Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I1eb5202685796cbc2d45cb6368ee4dbd4706e504
diff --git a/phosphor-regulators/src/device.hpp b/phosphor-regulators/src/device.hpp index 3b3a91b..fd5d844 100644 --- a/phosphor-regulators/src/device.hpp +++ b/phosphor-regulators/src/device.hpp
@@ -54,7 +54,7 @@ * * @return device ID */ - const std::string& getId() const + const std::string& getID() const { return id; }
diff --git a/phosphor-regulators/src/rail.hpp b/phosphor-regulators/src/rail.hpp index 3fa516b..f825863 100644 --- a/phosphor-regulators/src/rail.hpp +++ b/phosphor-regulators/src/rail.hpp
@@ -57,7 +57,7 @@ * * @return rail ID */ - const std::string& getId() const + const std::string& getID() const { return id; }
diff --git a/phosphor-regulators/src/rule.hpp b/phosphor-regulators/src/rule.hpp index ccc47fa..25be1e9 100644 --- a/phosphor-regulators/src/rule.hpp +++ b/phosphor-regulators/src/rule.hpp
@@ -61,7 +61,7 @@ * * @return rule ID */ - const std::string& getId() const + const std::string& getID() const { return id; }