hwmonio: split IoAccess object out
Split out the hwmon io access object from the sysfs namespace
into its own.
Change-Id: I8d1a45630117d1d503d0d5fa6061163911b695e8
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/fan_speed.cpp b/fan_speed.cpp
index 15ce946..f1afd55 100644
--- a/fan_speed.cpp
+++ b/fan_speed.cpp
@@ -4,6 +4,7 @@
#include "env.hpp"
#include "fan_speed.hpp"
#include "hwmon.hpp"
+#include "hwmonio.hpp"
#include "sysfs.hpp"
using namespace phosphor::logging;
@@ -25,8 +26,8 @@
type,
id,
entry::target,
- sysfs::hwmonio::retries,
- sysfs::hwmonio::delay);
+ hwmonio::retries,
+ hwmonio::delay);
}
catch (const std::system_error& e)
@@ -70,8 +71,8 @@
type::pwm,
id,
entry::enable,
- sysfs::hwmonio::retries,
- sysfs::hwmonio::delay);
+ hwmonio::retries,
+ hwmonio::delay);
}
catch (const std::system_error& e)
{