clang-format: copy latest and re-format
clang-format-17 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: I49d4d5d177ce54d7e1bff7d734666a3a935b38a0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/phosphor-power-supply/psu_manager.cpp b/phosphor-power-supply/psu_manager.cpp
index 92492a1..277497c 100644
--- a/phosphor-power-supply/psu_manager.cpp
+++ b/phosphor-power-supply/psu_manager.cpp
@@ -568,10 +568,9 @@
void PSUManager::analyze()
{
- auto syncHistoryRequired = std::any_of(psus.begin(), psus.end(),
- [](const auto& psu) {
- return psu->isSyncHistoryRequired();
- });
+ auto syncHistoryRequired = std::any_of(
+ psus.begin(), psus.end(),
+ [](const auto& psu) { return psu->isSyncHistoryRequired(); });
if (syncHistoryRequired)
{
syncHistory();