Re: [PATCH v3 02/11] dtc: dt-check-style: Simplify setting depth of DtsLine

"Rob Herring (Arm)" <[email protected]> Mon, 3 Aug 2026 17:31:16 -0500
Newsgroups org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]>
> ---
>  scripts/dtc/dt-check-style | 31 +++++++++++--------------------
>  1 file changed, 11 insertions(+), 20 deletions(-)
> 

Applied, thanks!