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: If66f68c96df4baf8dc07abf8729a3cb7657e932d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/device.hpp b/device.hpp
index eee9b9b..c4a4e3b 100644
--- a/device.hpp
+++ b/device.hpp
@@ -30,8 +30,7 @@
* @param name - the device name
* @param inst - the device instance
*/
- Device(const std::string& name, size_t inst) : name(name), instance(inst)
- {}
+ Device(const std::string& name, size_t inst) : name(name), instance(inst) {}
/**
* Returns the instance number
@@ -59,8 +58,7 @@
* the chip is in error state. Override if functionality
* is required
*/
- virtual void onFailure()
- {}
+ virtual void onFailure() {}
/**
* Pure virtual function to clear faults on the device