Update PowerSupply to be derived from Device
The PowerSupply will pass a name and instance number down to the Device
class it is derived from, but will also have an inventory path and a
path to monitor for PMBus interfaces.
Change-Id: I29f875fda1f07d031b58ec7ffd381d655495f248
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/power-supply/power_supply.cpp b/power-supply/power_supply.cpp
index f246ca4..e9f5d6b 100644
--- a/power-supply/power_supply.cpp
+++ b/power-supply/power_supply.cpp
@@ -15,13 +15,25 @@
*/
#include "power_supply.hpp"
-namespace phosphor
+namespace witherspoon
{
namespace power
{
namespace psu
{
+void PowerSupply::analyze()
+{
+ //TODO analyze() needs to be implemented in this class.
+ return;
+}
+
+void PowerSupply::clearFaults()
+{
+ //TODO
+ return;
+}
+
}
}
}