zephyr/samples/sensor
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
..
adt7420 dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
adxl362 dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
adxl372 dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
amg88xx license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
ams_iAQcore dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
apds9960 dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
bme280 doc: samples: cleanup board reference and layout 2019-06-13 16:09:02 -04:00
bme680 doc: fix misspellings in documentation 2019-06-18 15:08:19 -04:00
bmg160 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
bmi160 dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
bmm150 doc: samples: cleanup board reference and layout 2019-06-13 16:09:02 -04:00
ccs811 dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
ens210 dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
fxas21002 yaml: Remove redundant document separators 2019-06-19 10:40:10 +02:00
fxos8700 dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
fxos8700-hid dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
grove_light samples: grove_light: remove whitelisting 2019-06-13 16:09:02 -04:00
grove_temperature license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
hts221 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
lsm6dsl dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
lsm303dlhc dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
magn_polling license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
max30101 dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
max44009 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mcp9808 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
ms5837 dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
sht3xd samples: add test identifier 2019-03-29 17:44:11 -04:00
sx9500 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
th02 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
thermometer license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
ti_hdc dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
tmp112 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
vl53l0x dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
sensor.rst