summaryrefslogtreecommitdiff
path: root/driver/temp_sensor
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-10-18 17:34:12 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-18 22:00:46 +0000
commit0ce1c0db7c906943d22c58c50d2182e87f46de8c (patch)
treee9640d87062ec8b4f7b2810047ee554bcf1f34ed /driver/temp_sensor
parent705fd9970f12bce63f8caa9371f633488e6432ee (diff)
downloadchrome-ec-0ce1c0db7c906943d22c58c50d2182e87f46de8c.tar.gz
tree: Files should end with single newline
One of the checks that runs as part of "repo upload" looks for a single newline at the end of each file. I'm getting warnings about this when I touch files that do not follow this, even though I didn't add the extra newlines. This commit fixes all files by running the following: for f in $(find . -name '*.[ch]'); do printf '%s\n' "$(cat ${f})" > ${f}; done BRANCH=none BUG=b:172020503 TEST=./util/compare_build.sh -b all -j 120 => MATCH Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: Ia3ece5b64b549d21ca11708791368002bb6e9b0e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3229797 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'driver/temp_sensor')
-rw-r--r--driver/temp_sensor/adt7481.c1
-rw-r--r--driver/temp_sensor/oti502.c1
-rw-r--r--driver/temp_sensor/tmp411.c1
-rw-r--r--driver/temp_sensor/tmp432.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/driver/temp_sensor/adt7481.c b/driver/temp_sensor/adt7481.c
index cbd32e5cd5..b10404733c 100644
--- a/driver/temp_sensor/adt7481.c
+++ b/driver/temp_sensor/adt7481.c
@@ -349,4 +349,3 @@ int adt7481_set_power(enum adt7481_power_state power_on)
return EC_SUCCESS;
#endif
}
-
diff --git a/driver/temp_sensor/oti502.c b/driver/temp_sensor/oti502.c
index 8a420363e8..b58d1c3e96 100644
--- a/driver/temp_sensor/oti502.c
+++ b/driver/temp_sensor/oti502.c
@@ -64,4 +64,3 @@ static void temp_sensor_poll(void)
}
}
DECLARE_HOOK(HOOK_SECOND, temp_sensor_poll, HOOK_PRIO_TEMP_SENSOR);
-
diff --git a/driver/temp_sensor/tmp411.c b/driver/temp_sensor/tmp411.c
index ef22052da8..ee50d0a894 100644
--- a/driver/temp_sensor/tmp411.c
+++ b/driver/temp_sensor/tmp411.c
@@ -327,4 +327,3 @@ int tmp411_set_power(enum tmp411_power_state power_on)
return EC_SUCCESS;
#endif
}
-
diff --git a/driver/temp_sensor/tmp432.c b/driver/temp_sensor/tmp432.c
index 6260678dcd..4226f51bfd 100644
--- a/driver/temp_sensor/tmp432.c
+++ b/driver/temp_sensor/tmp432.c
@@ -396,4 +396,3 @@ int tmp432_set_power(enum tmp432_power_state power_on)
return EC_SUCCESS;
#endif
}
-