dtc: dt-check-style: Narrow disallowing of tab in DTS only to YAML
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Thu, 9 Jul 2026 17:41:29 +0000 (19:41 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 20 Jul 2026 20:50:56 +0000 (15:50 -0500)
commit49b5cf461dd74142bdac50127d146b391af3f151
tree18e5ec72f21c953c7c11734d82232351847602db
parentc6fa876d8641dd01601d0f0a43733792bc4d1678
dtc: dt-check-style: Narrow disallowing of tab in DTS only to YAML

DTS in the bindings (example in a YAML file) does not have tabs at all,
but regular DTS do, therefore entire check check_tab_in_dts() has
confusing name and should apply only to YAML files.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260709-dts-style-checker-v5-1-fcc147cb697d@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
scripts/dtc/dt-check-style
scripts/dtc/dt-style-selftest/expected/yaml-mixed-indent.yaml.txt
scripts/dtc/dt-style-selftest/expected/yaml-tab.yaml.txt