summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-04-03 11:18:49 +0300
committerRob Herring <robh@kernel.org>2022-04-05 03:55:03 +0300
commit7a150b0d850e37e7bdfc87459edd0ff302f67478 (patch)
tree8f8cd73f99195250f56c6dd1c38e72459ef54083 /tools/perf/scripts/python/compaction-times.py
parent44c8a51a5f28436622fde18fd057c857b42ac28c (diff)
downloadlinux-7a150b0d850e37e7bdfc87459edd0ff302f67478.tar.xz
docs: dt: writing-schema: mention coding style
Mention the usage of YAML coding style. Describe explicitly that four-space indentation in DTS examples is preferred, because: 1. The YAML's default two-space indentation for DTS code makes it significantly less readable. 2. Linux coding style tabs would introduce inconsistency (entire file is indented with spaces). 3. On the other hand, eight spaces would not align with example's opening ' - |' part. Four spaces makes the code nicely aligned with it. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220403081849.8051-2-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions