zephyr/dts
Ulf Magnusson eba81c6e54 yaml: Remove redundant document separators
YAML document separators are needed e.g. when doing

  $ cat doc1.yaml doc2.yaml | <parser>

For the bindings, we never parse concatenated documents. Assume we don't
for any other .yaml files either.

Having document separators in e.g. base.yaml makes !include a bit
confusing, since the !included files are merged and not separate
documents (the merging is done in Python code though, so it makes no
difference for behavior).

The replacement was done with

    $ git ls-files '*.yaml' | \
        xargs sed -i -e '${/\s*\.\.\.\s*/d;}' -e 's/^\s*---\s*$//'

First pattern removes ... at the end of files, second pattern clears a
line with a lone --- on it.

Some redundant blank lines at the end of files were cleared with

    $ git ls-files '*.yaml' | xargs sed -i '${/^\s*$/d}'

This is more about making sure people can understand why every part of a
binding is there than about removing some text.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-06-19 10:40:10 +02:00
..
arc boards: iotdk: add mpu and fpu configuration 2019-04-29 09:03:24 -07:00
arm soc: stm32: Add STM32L496XE support 2019-06-17 16:35:12 -04:00
bindings yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
common dts: flash simulator cleanup 2019-04-26 04:04:19 -07:00
nios2 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
posix dts: posix: Add DTS support for POSIX architecture 2019-05-28 21:14:19 -04:00
riscv32 dts: riscv32: update flash controller compatibility property 2019-06-03 10:43:47 -05:00
x86 dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
xtensa dts: xtensa: Fix compatible for xtensa lx6 2019-06-16 10:07:29 -04:00
Kconfig license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00