remove IPMI_CC

Since IPMI_CC declared in api.h has been gradually deprecated,
this submission will use ipmi::cc in api.hpp instead.

Change-Id: I895565f892c69a6a3a967f5d8ea9c081f1409fb1
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/src/asset_info.cpp b/src/asset_info.cpp
index 8f38d6a..c9149c9 100644
--- a/src/asset_info.cpp
+++ b/src/asset_info.cpp
@@ -189,13 +189,13 @@
     {
         lg2::info("Device type ({DEVICE_TYPE}) not supported yet",
                   "DEVICE_TYPE", deviceType);
-        return IPMI_CC_UNSPECIFIED_ERROR;
+        return ipmi::ccUnspecifiedError;
     }
 
     // For now we only support BIOS type
     parseBIOSInfo(info->data);
 
-    return IPMI_CC_OK;
+    return ipmi::ccSuccess;
 }
 
 void registerOEMFunctions(void)