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: I3edadffec0ea11e0a52d9b060167e9a9a38f1972
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/device.hpp b/device.hpp
index 16056a7..d3d23d4 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