diff options
author | Tom Hughes <tomhughes@chromium.org> | 2021-10-18 17:34:12 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-18 22:00:46 +0000 |
commit | 0ce1c0db7c906943d22c58c50d2182e87f46de8c (patch) | |
tree | e9640d87062ec8b4f7b2810047ee554bcf1f34ed /zephyr/include | |
parent | 705fd9970f12bce63f8caa9371f633488e6432ee (diff) | |
download | chrome-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 'zephyr/include')
-rw-r--r-- | zephyr/include/dt-bindings/wake_mask_event_defines.h | 1 | ||||
-rw-r--r-- | zephyr/include/emul/emul_tcpci.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/zephyr/include/dt-bindings/wake_mask_event_defines.h b/zephyr/include/dt-bindings/wake_mask_event_defines.h index 0413fa249c..9840cf18d5 100644 --- a/zephyr/include/dt-bindings/wake_mask_event_defines.h +++ b/zephyr/include/dt-bindings/wake_mask_event_defines.h @@ -70,4 +70,3 @@ #define HOST_EVENT_INVALID BIT(32) #endif /* DT_BINDINGS_WAKE_MASK_EVENT_DEFINES_H_ */ - diff --git a/zephyr/include/emul/emul_tcpci.h b/zephyr/include/emul/emul_tcpci.h index 98a3495b02..9d4f2b8c42 100644 --- a/zephyr/include/emul/emul_tcpci.h +++ b/zephyr/include/emul/emul_tcpci.h @@ -236,4 +236,3 @@ void tcpci_emul_set_rev(const struct emul *emul, enum tcpci_emul_rev rev); */ #endif /* __EMUL_TCPCI */ - |