Re: [PATCH v3 02/11] dtc: dt-check-style: Simplify setting depth of DtsLine
From: Rob Herring (Arm)
Date: Mon Aug 03 2026 - 18:35:16 EST
On Mon, 03 Aug 2026 11:03:05 +0200, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxxxxxxxx>
> ---
> scripts/dtc/dt-check-style | 31 +++++++++++--------------------
> 1 file changed, 11 insertions(+), 20 deletions(-)
>
Applied, thanks!