common: use aserver property constructor

Since PDI gen code now [1] supports constructing DBus interfaces with
property values, simplify the common code to use that API.

Tested: Unit Tests Pass

References:
[1] https://gerrit.openbmc.org/c/openbmc/sdbusplus/+/78790

Change-Id: Ic29531b391f8609377105dbcbac2e8a55b29746c
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/common/include/software.hpp b/common/include/software.hpp
index 849e959..a8477bf 100644
--- a/common/include/software.hpp
+++ b/common/include/software.hpp
@@ -20,20 +20,6 @@
 namespace phosphor::software
 {
 
-// Need to declare this class to initialize the protected members of our base
-// class. This prevents "Conditional jump or move depends on uninitialised
-// value(s)" when properties are updated for the first time.
-class SoftwareActivationProgress :
-    private sdbusplus::aserver::xyz::openbmc_project::software::
-        ActivationProgress<Software>
-{
-  public:
-    SoftwareActivationProgress(sdbusplus::async::context& ctx,
-                               const char* objPath);
-
-    void setProgress(int progressArg);
-};
-
 using SoftwareActivationBlocksTransition = sdbusplus::aserver::xyz::
     openbmc_project::software::ActivationBlocksTransition<Software>;
 
@@ -95,8 +81,9 @@
     // and is deleted again afterwards.
     // This member is public since the device specific update function
     // needs to update the progress.
-    std::unique_ptr<SoftwareActivationProgress> softwareActivationProgress =
-        nullptr;
+    std::unique_ptr<sdbusplus::aserver::xyz::openbmc_project::software::
+                        ActivationProgress<Software>>
+        softwareActivationProgress = nullptr;
 
     static long int getRandomId();