prefer std::format over fmt

Now that std::format is implemented we aren't using complex enough fmt
to warrant using it over the std version.  Switch to std and remove the
dependency.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib03cdb6a9db4d25de345bdb49b28157880c19bc1
diff --git a/utils.cpp b/utils.cpp
index 332ddc0..e4f7121 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -2,8 +2,6 @@
 
 #include "utils.hpp"
 
-#include <fmt/format.h>
-#include <fmt/printf.h>
 #include <gpiod.h>
 
 #include <phosphor-logging/lg2.hpp>
@@ -14,6 +12,7 @@
 
 #include <chrono>
 #include <filesystem>
+#include <format>
 
 namespace phosphor
 {
@@ -230,8 +229,8 @@
 
 bool checkACLoss(size_t& chassisId)
 {
-    std::string chassisLostPowerFileFmt = fmt::sprintf(CHASSIS_LOST_POWER_FILE,
-                                                       chassisId);
+    std::string chassisLostPowerFileFmt = std::format(CHASSIS_LOST_POWER_FILE,
+                                                      chassisId);
 
     std::filesystem::path chassisPowerLossFile{chassisLostPowerFileFmt};
     if (std::filesystem::exists(chassisPowerLossFile))