Pass error to log into shutdown function

Changing the power off utility function to take a
template parameter that specifies the error to log
before the shutdown instead of hardcoding it in
the function.

Also change the 2 callers of this function to pass
in the error type.

Change-Id: Ic83d87d5000f881ed9832092be207e91adf81c0c
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/power-sequencer/ucd90160.cpp b/power-sequencer/ucd90160.cpp
index 1f7f167..ac2caa5 100644
--- a/power-sequencer/ucd90160.cpp
+++ b/power-sequencer/ucd90160.cpp
@@ -398,7 +398,8 @@
 
     if (shutdown)
     {
-        util::powerOff(bus);
+        //Will be replaced with a GPU specific error in a future commit
+        util::powerOff<power_error::Shutdown>(bus);
     }
 
     return errorFound;