Add .clang-format to repo for automated style

Add .clang-format to repo for automated style.  A consistent style
across Openbmc makes the code easier to read and edit.

Change-Id: I7c09792d2482f0be3e01776804347700f3e3e651
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/write.cpp b/write.cpp
index e4f3e59..b0293a5 100644
--- a/write.cpp
+++ b/write.cpp
@@ -1,9 +1,11 @@
-#include <exception>
-#include <algorithm>
-#include "defines.hpp"
 #include "write.hpp"
+
+#include "defines.hpp"
 #include "writefru.hpp"
 
+#include <algorithm>
+#include <exception>
+
 namespace openpower
 {
 namespace vpd
@@ -11,14 +13,10 @@
 namespace inventory
 {
 
-static const std::unordered_map<std::string, Fru> supportedFrus =
-{
-    {"BMC", Fru::BMC},
-    {"ETHERNET", Fru::ETHERNET}
-};
+static const std::unordered_map<std::string, Fru> supportedFrus = {
+    {"BMC", Fru::BMC}, {"ETHERNET", Fru::ETHERNET}};
 
-void write(const std::string& type,
-           const Store& vpdStore,
+void write(const std::string& type, const Store& vpdStore,
            const std::string& path)
 {
     // Get the enum corresponding to type, and call
@@ -54,6 +52,6 @@
     }
 }
 
-} // inventory
+} // namespace inventory
 } // namespace vpd
 } // namespace openpower