clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I44441096113929ce96eb1439e2932e6ff3c87f27
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/softoff/softoff.cpp b/softoff/softoff.cpp
index 333d4d7..0c2c9bd 100644
--- a/softoff/softoff.cpp
+++ b/softoff/softoff.cpp
@@ -17,10 +17,11 @@
#include "softoff.hpp"
-#include <chrono>
#include <ipmid/utils.hpp>
#include <phosphor-logging/log.hpp>
#include <xyz/openbmc_project/Control/Host/server.hpp>
+
+#include <chrono>
namespace phosphor
{
namespace ipmi
@@ -31,8 +32,8 @@
void SoftPowerOff::sendHostShutDownCmd()
{
- auto ctrlHostPath =
- std::string{CONTROL_HOST_OBJ_MGR} + '/' + HOST_NAME + '0';
+ auto ctrlHostPath = std::string{CONTROL_HOST_OBJ_MGR} + '/' + HOST_NAME +
+ '0';
auto host = ::ipmi::getService(this->bus, CONTROL_HOST_BUSNAME,
ctrlHostPath.c_str());
diff --git a/softoff/softoff.hpp b/softoff/softoff.hpp
index 23ff5db..c78710b 100644
--- a/softoff/softoff.hpp
+++ b/softoff/softoff.hpp
@@ -2,12 +2,13 @@
#include "config.h"
-#include <functional>
#include <sdbusplus/bus.hpp>
#include <sdbusplus/server/object.hpp>
#include <sdbusplus/timer.hpp>
#include <xyz/openbmc_project/Control/Host/server.hpp>
#include <xyz/openbmc_project/Ipmi/Internal/SoftPowerOff/server.hpp>
+
+#include <functional>
namespace phosphor
{
namespace ipmi