clang-format: update to latest version
Pick up latest .clang-format file from the docs repository.
Fix formatting on all files.
Minor compile fixes due to GCC10 and sdbusplus changes.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie1f7a4e59b6cf015310effef50d558ff59731024
diff --git a/power-sequencer/templates/ucd90160_defs.mako.cpp b/power-sequencer/templates/ucd90160_defs.mako.cpp
index 1775158..069e5f0 100644
--- a/power-sequencer/templates/ucd90160_defs.mako.cpp
+++ b/power-sequencer/templates/ucd90160_defs.mako.cpp
@@ -10,7 +10,8 @@
using namespace ucd90160;
using namespace std::string_literals;
-const DeviceMap UCD90160::deviceMap{
+const DeviceMap UCD90160::deviceMap
+{
%for ucd_data in ucd90160s:
{${ucd_data['index']},
DeviceDefinition{
@@ -38,7 +39,7 @@
"${gpio_analysis['path']}",
gpio::Value::${gpio_analysis['gpio_value']},
[](auto& ucd, const auto& callout) {
- ucd.${gpio_analysis['error_function']}(callout);
+ ucd.${gpio_analysis['error_function']}(callout);
},
optionFlags::${gpio_analysis['option_flags']},
GPIODefinitions{