Add device debug path to PMBus class

Some devices may also have files in
/sys/kernel/debug/<device driver name>.<instance>,
so adding a DeviceDebug path type to support that.

The device driver name and chip instance number are then
required to be passed in to the constructor.

Change-Id: I301d730a29ac7c2c39198e4eb7125aff70d727dc
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/pmbus.cpp b/pmbus.cpp
index 95e3bbb..a289401 100644
--- a/pmbus.cpp
+++ b/pmbus.cpp
@@ -61,7 +61,11 @@
             return basePath / "hwmon" / hwmonDir;
             break;
         case Type::Debug:
-            return debugPath / hwmonDir;
+            return debugPath / "pmbus" / hwmonDir;
+            break;
+        case Type::DeviceDebug:
+            auto dir = driverName + "." + std::to_string(instance);
+            return debugPath / dir;
             break;
     }
 }