bmc: using namespace ipmi_flash simplifies reading

Using this namespace declaration within the scope of the method
simplifies reading and is unlikely to introduce any object ambiguity.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I543ad77dd21f66d7b72fc9fdf1f11985460b17df
diff --git a/bmc/main.cpp b/bmc/main.cpp
index ee15bba..a3d26ac 100644
--- a/bmc/main.cpp
+++ b/bmc/main.cpp
@@ -112,28 +112,30 @@
 
 std::unique_ptr<blobs::GenericBlobInterface> createHandler()
 {
-    ipmi_flash::ActionMap actionPacks = {};
+    using namespace ipmi_flash;
 
-    std::vector<ipmi_flash::HandlerConfig> configsFromJson =
-        ipmi_flash::BuildHandlerConfigs(ipmi_flash::jsonConfigurationPath);
+    ActionMap actionPacks = {};
 
-    std::vector<ipmi_flash::HandlerPack> supportedFirmware;
+    std::vector<HandlerConfig> configsFromJson =
+        BuildHandlerConfigs(jsonConfigurationPath);
 
-    supportedFirmware.push_back(std::move(ipmi_flash::CreateFileHandlerPack(
-        ipmi_flash::hashBlobId, HASH_FILENAME)));
+    std::vector<HandlerPack> supportedFirmware;
+
+    supportedFirmware.push_back(
+        std::move(CreateFileHandlerPack(hashBlobId, HASH_FILENAME)));
 
     for (auto& config : configsFromJson)
     {
-        supportedFirmware.push_back(std::move(
-            ipmi_flash::HandlerPack(config.blobId, std::move(config.handler))));
+        supportedFirmware.push_back(
+            std::move(HandlerPack(config.blobId, std::move(config.handler))));
         actionPacks[config.blobId] = std::move(config.actions);
 
         std::fprintf(stderr, "config loaded: %s\n", config.blobId.c_str());
     }
 
-    auto handler = ipmi_flash::FirmwareBlobHandler::CreateFirmwareBlobHandler(
-        std::move(supportedFirmware),
-        std::move(ipmi_flash::supportedTransports), std::move(actionPacks));
+    auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(
+        std::move(supportedFirmware), std::move(supportedTransports),
+        std::move(actionPacks));
 
     if (!handler)
     {