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;
     }
diff --git a/phosphor-regulators/test/device_tests.cpp b/phosphor-regulators/test/device_tests.cpp
index bee4bdc..1d979b0 100644
--- a/phosphor-regulators/test/device_tests.cpp
+++ b/phosphor-regulators/test/device_tests.cpp
@@ -22,11 +22,11 @@
 TEST(DeviceTests, Constructor)
 {
     Device device("vdd_vrm2");
-    EXPECT_EQ(device.getId(), "vdd_vrm2");
+    EXPECT_EQ(device.getID(), "vdd_vrm2");
 }
 
-TEST(DeviceTests, GetId)
+TEST(DeviceTests, GetID)
 {
     Device device("vio_vrm");
-    EXPECT_EQ(device.getId(), "vio_vrm");
+    EXPECT_EQ(device.getID(), "vio_vrm");
 }
diff --git a/phosphor-regulators/test/rail_tests.cpp b/phosphor-regulators/test/rail_tests.cpp
index 09932f6..d5722fd 100644
--- a/phosphor-regulators/test/rail_tests.cpp
+++ b/phosphor-regulators/test/rail_tests.cpp
@@ -22,11 +22,11 @@
 TEST(RailTests, Constructor)
 {
     Rail rail("vdd0");
-    EXPECT_EQ(rail.getId(), "vdd0");
+    EXPECT_EQ(rail.getID(), "vdd0");
 }
 
-TEST(RailTests, GetId)
+TEST(RailTests, GetID)
 {
     Rail rail("vio2");
-    EXPECT_EQ(rail.getId(), "vio2");
+    EXPECT_EQ(rail.getID(), "vio2");
 }
diff --git a/phosphor-regulators/test/rule_tests.cpp b/phosphor-regulators/test/rule_tests.cpp
index 6c32dc8..a350238 100644
--- a/phosphor-regulators/test/rule_tests.cpp
+++ b/phosphor-regulators/test/rule_tests.cpp
@@ -22,11 +22,11 @@
 TEST(RuleTests, Constructor)
 {
     Rule rule("set_voltage_rule");
-    EXPECT_EQ(rule.getId(), "set_voltage_rule");
+    EXPECT_EQ(rule.getID(), "set_voltage_rule");
 }
 
-TEST(RuleTests, GetId)
+TEST(RuleTests, GetID)
 {
     Rule rule("read_sensor_values");
-    EXPECT_EQ(rule.getId(), "read_sensor_values");
+    EXPECT_EQ(rule.getID(), "read_sensor_values");
 }