summaryrefslogtreecommitdiffstats
path: root/occ_device.hpp
diff options
context:
space:
mode:
authorEddie James <eajames@us.ibm.com>2018-02-26 13:42:45 -0600
committerEddie James <eajames@us.ibm.com>2018-03-19 11:15:30 -0500
commite7d976b4d28ad30f563f300322df1dc6c4c38017 (patch)
treeb2ebe761e54cc01a48c3f3bbefeb44e33ab0beb7 /occ_device.hpp
parent1111087e39e61fb220b987542643ad9bf0a100c7 (diff)
downloadopenpower-occ-control-e7d976b4d28ad30f563f300322df1dc6c4c38017.tar.gz
openpower-occ-control-e7d976b4d28ad30f563f300322df1dc6c4c38017.zip
Change occ-hwmon device names
Device names changed in 4.13, so update them here. Change-Id: Ieb92f55499f3577dbfd737ea870a69dd4f351bc2 Signed-off-by: Eddie James <eajames@us.ibm.com>
Diffstat (limited to 'occ_device.hpp')
-rw-r--r--occ_device.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/occ_device.hpp b/occ_device.hpp
index 2ca94f5..efa46dc 100644
--- a/occ_device.hpp
+++ b/occ_device.hpp
@@ -41,11 +41,7 @@ class Device
const Manager& manager,
Status& status,
std::function<void(bool)> callBack = nullptr) :
-#ifdef I2C_OCC
config(name),
-#else
- config(name + '-' + "dev0"),
-#endif
errorFile(fs::path(config) / "occ_error"),
statusObject(status),
error(event, errorFile, callBack),
OpenPOWER on IntegriCloud