Add function to get PMBus device name
This will be used in the future to find a path
to certain sysfs files.
Change-Id: Ia919b2f954fddf7b97bd1c5025f7c54af942b318
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/pmbus.hpp b/pmbus.hpp
index 187f383..9ab57c0 100644
--- a/pmbus.hpp
+++ b/pmbus.hpp
@@ -253,6 +253,15 @@
private:
/**
+ * Returns the device name
+ *
+ * This is found in the 'name' file in basePath.
+ *
+ * @return string - the device name
+ */
+ std::string getDeviceName();
+
+ /**
* The sysfs device path
*/
fs::path basePath;