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/targets.hpp b/targets.hpp
index 02bdd4f..7f21c4b 100644
--- a/targets.hpp
+++ b/targets.hpp
@@ -7,6 +7,7 @@
 #include "env.hpp"
 #include "fan_speed.hpp"
 #include "fan_pwm.hpp"
+#include "hwmonio.hpp"
 
 enum class targetType
 {
@@ -61,7 +62,7 @@
  */
 template <typename T>
 std::shared_ptr<T> addTarget(const SensorSet::key_type& sensor,
-                             const sysfs::hwmonio::HwmonIO& ioAccess,
+                             const hwmonio::HwmonIO& ioAccess,
                              const std::string& devPath,
                              ObjectInfo& info)
 {
@@ -144,8 +145,8 @@
                     targetName,
                     targetId,
                     entry,
-                    sysfs::hwmonio::retries,
-                    sysfs::hwmonio::delay);
+                    hwmonio::retries,
+                    hwmonio::delay);
             }
             catch (const std::system_error& e)
             {