Changes for dbus based gpio config.

Updating dbus match search filter function with more specific
interface name to avoid match function event handler getting called
for multiple not relevant properties.

Updating the variable type to match with the return type from
sdbusplus method call

TESTED:Tested and verified in YosemiteV2.

Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com>
Change-Id: Ib910b8b7c174247e7199eb0785fa9c81f6a54aac
diff --git a/src/power_control.cpp b/src/power_control.cpp
index 950df47..e8a8958 100644
--- a/src/power_control.cpp
+++ b/src/power_control.cpp
@@ -2484,7 +2484,7 @@
         static_cast<sdbusplus::bus::bus&>(*conn),
         "type='signal',interface='org.freedesktop.DBus.Properties',member='"
         "PropertiesChanged',arg0='" +
-            cfg.dbusName + "'",
+            cfg.interface + "'",
         std::move(pulseEventMatcherCallback));
 }
 
@@ -2502,9 +2502,9 @@
             "Error reading from Bus");
         return -1;
     }
-    std::variant<int> resp;
+    std::variant<bool> resp;
     reply.read(resp);
-    auto respValue = std::get_if<int>(&resp);
+    auto respValue = std::get_if<bool>(&resp);
     if (!respValue)
     {
         phosphor::logging::log<phosphor::logging::level::ERR>(