clang-format: Update to match docs repo
Update the .clang-format file and run clang-format-6.0.
This .clang-format matches the example one in
https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#clang-formatting
Change-Id: Id6760866dedbaeafd83ea8ef2e0303e30b8955aa
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/occ_device.cpp b/occ_device.cpp
index b100d46..b05dc09 100644
--- a/occ_device.cpp
+++ b/occ_device.cpp
@@ -1,7 +1,9 @@
-#include <iostream>
#include "occ_device.hpp"
+
#include "occ_status.hpp"
+#include <iostream>
+
namespace open_power
{
namespace occ
@@ -28,17 +30,17 @@
void Device::throttleProcTempCallback(bool error)
{
- statusObject.throttleProcTemp(error);
+ statusObject.throttleProcTemp(error);
}
void Device::throttleProcPowerCallback(bool error)
{
- statusObject.throttleProcPower(error);
+ statusObject.throttleProcPower(error);
}
void Device::throttleMemTempCallback(bool error)
{
- statusObject.throttleMemTemp(error);
+ statusObject.throttleMemTemp(error);
}
} // namespace occ