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: I267a17e007b99caed10aef060e7dd9a0bcc5fc2e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/fan_pwm.cpp b/fan_pwm.cpp
index 91ba57d..253515d 100644
--- a/fan_pwm.cpp
+++ b/fan_pwm.cpp
@@ -8,11 +8,12 @@
#include <fmt/format.h>
-#include <filesystem>
#include <phosphor-logging/elog-errors.hpp>
-#include <string>
#include <xyz/openbmc_project/Control/Device/error.hpp>
+#include <filesystem>
+#include <string>
+
using namespace phosphor::logging;
namespace hwmon
@@ -38,8 +39,8 @@
xyz::openbmc_project::Control::Device::WriteFailure::
CALLOUT_DEVICE_PATH(_devPath.c_str()));
- auto file =
- sysfs::make_sysfs_path(_ioAccess->path(), _type, _id, empty);
+ auto file = sysfs::make_sysfs_path(_ioAccess->path(), _type, _id,
+ empty);
log<level::INFO>(fmt::format("Failing sysfs file: {} errno: {}", file,
e.code().value())