conf change: sensors: read and write path rename

Rename the readpath and writepath for camelcase styling to make all
configuration variables consistent.

Change-Id: I33f475075c8f40cd2029a5c0bfda950846cd5d44
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/dbus/dbusconfiguration.cpp b/dbus/dbusconfiguration.cpp
index 0045822..e4396c4 100644
--- a/dbus/dbusconfiguration.cpp
+++ b/dbus/dbusconfiguration.cpp
@@ -80,8 +80,8 @@
 
         std::cout << "\t{" << pair.first << ",\n\t\t{";
         std::cout << pair.second.type << ", ";
-        std::cout << pair.second.readpath << ", ";
-        std::cout << pair.second.writepath << ", ";
+        std::cout << pair.second.readPath << ", ";
+        std::cout << pair.second.writePath << ", ";
         std::cout << pair.second.min << ", ";
         std::cout << pair.second.max << ", ";
         std::cout << pair.second.timeout << "},\n\t},\n";
@@ -354,7 +354,7 @@
                         inputs.push_back(shortName);
                         auto& config = sensorConfig[shortName];
                         config.type = std::get<std::string>(base.at("Class"));
-                        config.readpath = sensorPathIfacePair.first;
+                        config.readPath = sensorPathIfacePair.first;
                         // todo: maybe un-hardcode this if we run into slower
                         // timeouts with sensors
                         if (config.type == "temp")
@@ -376,7 +376,7 @@
                             }
 
                             auto& config = sensorConfig[otherSensor];
-                            config.writepath = sensorPathIfacePair.first;
+                            config.writePath = sensorPathIfacePair.first;
                             // todo: un-hardcode this if there are fans with
                             // different ranges
                             config.max = 255;
@@ -481,7 +481,7 @@
 
                         inputs.push_back(shortName);
                         auto& config = sensorConfig[shortName];
-                        config.readpath = sensorPathIfacePair.first;
+                        config.readPath = sensorPathIfacePair.first;
                         config.type = "temp";
                         // todo: maybe un-hardcode this if we run into slower
                         // timeouts with sensors