zephyr/tests/drivers
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
..
adc/adc_api dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
aio license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
build_all yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
can tests: drivers: can: Make CAN dev global 2019-05-12 16:54:49 -04:00
counter/counter_basic_api tests: drivers: counter: Add device name to zassert strings 2019-06-17 10:06:13 +02:00
dma license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
entropy/api license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
flash_simulator drivers/flash/flash_simulator: Allow unaligned read 2019-05-28 11:24:48 +02:00
gpio/gpio_basic_api drivers: gpio: sam0: Remove defines from dts_fixup.h 2019-05-03 08:46:57 -05:00
hwinfo/api license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
i2c dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
i2s license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
ipm tests: ipm: disable on qemu_x86_64 2019-04-28 13:08:34 -04:00
pci_enum license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
pinmux/pinmux_basic_api license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
pwm/pwm_api dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
rtc/rtc_basic_api license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
spi/spi_loopback tests: drivers: spi_loopback: add twr_ke18f configuration 2019-05-31 09:54:03 -05:00
uart dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
watchdog/wdt_basic_api license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00