add .clang-format
Add .clang-format for automatic style.
Change-Id: I6d240009370179b5b8f1f646b0476a059ec6aa85
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/procedures/p9/set_sync_fsi_clock_mode.cpp b/procedures/p9/set_sync_fsi_clock_mode.cpp
index b17aec5..4ffff9f 100644
--- a/procedures/p9/set_sync_fsi_clock_mode.cpp
+++ b/procedures/p9/set_sync_fsi_clock_mode.cpp
@@ -27,7 +27,6 @@
using namespace openpower::cfam::p9;
using namespace openpower::targeting;
-
/**
* @Brief Sets the P9 FSI clock to synchronous mode.
*/
@@ -36,13 +35,11 @@
Targeting targets;
const auto& master = *(targets.begin());
- //Set bit 31 to 0
+ // Set bit 31 to 0
writeRegWithMask(master, P9_LL_MODE_REG, 0x00000000, 0x00000001);
}
-
REGISTER_PROCEDURE("setSyncFSIClock", setSynchronousFSIClock);
-}
-}
-
+} // namespace p9
+} // namespace openpower