linux/scripts/dtc
Krzysztof Kozlowski d863ae623a dtc: dt-check-style: Simplify setting depth of DtsLine
When creating new DtsLine object, pass expected indentation depth as
constructor, instead of assigning it immediately after, so the code will
be easier to read and explicit (depth is not supposed to change during
DtsLine lifetime).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260803-n-dts-style-checker-continued-v3-2-6c9776928cea@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2026-08-14 15:43:24 -05:00
..
dt-style-selftest dtc: dt-check-style: Add missing /dts-v1/ to few test cases 2026-08-14 15:43:23 -05:00
include-prefixes
libfdt
.gitignore
checks.c
data.c
dt_to_config
dt-check-style dtc: dt-check-style: Simplify setting depth of DtsLine 2026-08-14 15:43:24 -05:00
dt-extract-compatibles
dtc-lexer.l
dtc-parser.y
dtc.c
dtc.h
dtx_diff
fdtget.c
fdtoverlay.c
fdtput.c
flattree.c
fstree.c
livetree.c
Makefile
of_unittest_expect
srcpos.c
srcpos.h
treesource.c
update-dtc-source.sh
util.c
util.h
version_gen.h
yamltree.c