]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tools: zynqmp_psu_init_minimize.sh: Switch to clang-format
authorJavier Tia <javier.tia@linaro.org>
Fri, 5 Sep 2025 20:53:45 +0000 (14:53 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 16 Sep 2025 19:45:00 +0000 (13:45 -0600)
Replace the use of scripts/Lindent with clang-format in
zynqmp_psu_init_minimize.sh. This change is made to align with the rest
of the codebase that uses clang-format for code formatting. This ensures
consistency across all scripts in terms of code style and formatting.

Tested-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Javier Tia <javier.tia@linaro.org>
tools/zynqmp_psu_init_minimize.sh

index 5c8b73703bfb7546a7eab93af2802fbf49c26c12..f8b729ebc97811178bd57e48306c159f0af55918 100755 (executable)
@@ -82,7 +82,7 @@ for i in $FUNCS_TO_REMOVE; do
 sed -i "/$i/,/^}$/d" ${OUT}
 done
 
-scripts/Lindent ${OUT}
+clang-format -i -style=file ${OUT}
 
 # Prepend 'static' to internal functions
 sed -i 's/^.*data(void)$/static &/g' ${OUT}