conf change: s/set-point/setpoint/

Remove the dash from set-point, such that it's one word: setpoint.

Change-Id: I4c3033f3c2432a53d850e8f5defbe2ac1510daf8
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/scripts/pid-example.txt b/scripts/pid-example.txt
index 8321b39..5161d7f 100644
--- a/scripts/pid-example.txt
+++ b/scripts/pid-example.txt
@@ -4,8 +4,8 @@
     inputs:   /* Sensor names that are inputs for the PID */
       fan2
       fan6
-    /* For temp/margin PIDs this is the set-point, ignored otherwise (double) */
-    set-point: 90.0
+    /* For temp/margin PIDs this is the setpoint, ignored otherwise (double) */
+    setpoint: 90.0
     pid: /* The PID calculation configuration. */
       samplePeriod: 0.1        /* The input sample period. (double) */
       proportionalCoeff: 0.01      /* The proportional coefficient. (double) */
diff --git a/scripts/pid-example.yaml b/scripts/pid-example.yaml
index f7a4ba3..001eab1 100644
--- a/scripts/pid-example.yaml
+++ b/scripts/pid-example.yaml
@@ -4,7 +4,7 @@
     inputs:
       fan2
       fan6
-    set-point: 90.0
+    setpoint: 90.0
     pid:
       samplePeriod: 0.1
       proportionalCoeff: 0.01
@@ -23,7 +23,7 @@
     type: temp
     inputs:
       temp1
-    set-point: 30.0
+    setpoint: 30.0
     pid:
       samplePeriod: 1
       proportionalCoeff: 94.0
@@ -42,7 +42,7 @@
     type: margin
     inputs:
       sluggish0
-    set-point: 50
+    setpoint: 50
     pid:
       samplePeriod: 1
       proportionalCoeff: 94.0
diff --git a/scripts/writepid.mako.cpp b/scripts/writepid.mako.cpp
index 394f326..2e6738d 100644
--- a/scripts/writepid.mako.cpp
+++ b/scripts/writepid.mako.cpp
@@ -20,13 +20,13 @@
                    % endfor
                  },
                  <%
-                      # If the PID type is a fan, set-point field is unused,
+                      # If the PID type is a fan, setpoint field is unused,
                       # so just use a default of 0.  If the PID is not a type
-                      # of fan, require the set-point field.
+                      # of fan, require the setpoint field.
                       if 'fan' == details['type']:
                           setpoint = 0
                       else:
-                          setpoint = details['set-point']
+                          setpoint = details['setpoint']
 
                       neg_hysteresis = 0
                       pos_hysteresis = 0