clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I9343fc2deb406cae6bc2444aed6acb5b0db84c98
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/.clang-format b/.clang-format
index a75a2c2..e5530e6 100644
--- a/.clang-format
+++ b/.clang-format
@@ -104,7 +104,7 @@
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
-PenaltyReturnTypeOnItsOwnLine: 60
+PenaltyReturnTypeOnItsOwnLine: 150
PenaltyIndentedWhitespace: 1
PointerAlignment: Left
QualifierAlignment: Left
diff --git a/power-sequencer/ucd90160.hpp b/power-sequencer/ucd90160.hpp
index 3132701..1983b4e 100644
--- a/power-sequencer/ucd90160.hpp
+++ b/power-sequencer/ucd90160.hpp
@@ -94,8 +94,8 @@
* @return fs::path - The gpiochip path, like
* /dev/gpiochip1
*/
- static std::filesystem::path
- findGPIODevice(const std::filesystem::path& path);
+ static std::filesystem::path findGPIODevice(
+ const std::filesystem::path& path);
/**
* Checks for VOUT faults on the device.