summaryrefslogtreecommitdiff
path: root/driver/temp_sensor
diff options
context:
space:
mode:
Diffstat (limited to 'driver/temp_sensor')
-rw-r--r--driver/temp_sensor/g781.h6
-rw-r--r--driver/temp_sensor/tmp432.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/driver/temp_sensor/g781.h b/driver/temp_sensor/g781.h
index 6463155659..c9069749d2 100644
--- a/driver/temp_sensor/g781.h
+++ b/driver/temp_sensor/g781.h
@@ -5,8 +5,8 @@
/* G781 temperature sensor module for Chrome EC */
-#ifndef __CROS_EC_TEMP_SENSOR_G781_H
-#define __CROS_EC_TEMP_SENSOR_G781_H
+#ifndef __CROS_EC_G781_H
+#define __CROS_EC_G781_H
#define G781_I2C_ADDR 0x98 /* 7-bit address is 0x4C */
@@ -67,4 +67,4 @@
*/
int g781_get_val(int idx, int *temp_ptr);
-#endif /* __CROS_EC_TEMP_SENSOR_G781_H */
+#endif /* __CROS_EC_G781_H */
diff --git a/driver/temp_sensor/tmp432.h b/driver/temp_sensor/tmp432.h
index acfaf39503..94930ee108 100644
--- a/driver/temp_sensor/tmp432.h
+++ b/driver/temp_sensor/tmp432.h
@@ -5,8 +5,8 @@
/* TMP432 temperature sensor module for Chrome EC */
-#ifndef __CROS_EC_TEMP_SENSOR_TMP432_H
-#define __CROS_EC_TEMP_SENSOR_TMP432_H
+#ifndef __CROS_EC_TMP432_H
+#define __CROS_EC_TMP432_H
#define TMP432_I2C_ADDR 0x98 /* 7-bit address is 0x4C */
@@ -93,4 +93,4 @@
*/
int tmp432_get_val(int idx, int *temp_ptr);
-#endif /* __CROS_EC_TEMP_SENSOR_TMP432_H */
+#endif /* __CROS_EC_TMP432_H */