overlay: Rename devicePath as busPath
It's the path to the sysfs directory representing an i2c bus, not a
device on that bus; let's name it to reflect that.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I1525f45cc2fd4a9690dc261fbe93ea734952057e
diff --git a/include/devices.hpp b/include/devices.hpp
index af89f16..4ac57ea 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -31,13 +31,13 @@
struct ExportTemplate
{
- ExportTemplate(const char* params, const char* dev, const char* constructor,
+ ExportTemplate(const char* params, const char* bus, const char* constructor,
const char* destructor, bool createsHWMon) :
parameters(params),
- devicePath(dev), add(constructor), remove(destructor),
+ busPath(bus), add(constructor), remove(destructor),
createsHWMon(createsHWMon){};
const char* parameters;
- const char* devicePath;
+ const char* busPath;
const char* add;
const char* remove;
bool createsHWMon;