Add explicit keyword to regulator constructors

Add the 'explicit' keyword to regulator constructors.  This prevents
automatic, unintended type promotions from occurring.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: Ice9983093114192c33d083b58cf85247d29792a8
diff --git a/phosphor-regulators/src/device.hpp b/phosphor-regulators/src/device.hpp
index fd5d844..5f443b5 100644
--- a/phosphor-regulators/src/device.hpp
+++ b/phosphor-regulators/src/device.hpp
@@ -45,7 +45,7 @@
      *
      * @param id unique device ID
      */
-    Device(const std::string& id) : id{id}
+    explicit Device(const std::string& id) : id{id}
     {
     }