[PATCH v2 2/4] tools: zynqmp_psu_init_minimize.sh: Switch to clang-format
Javier Tia
javier.tia at linaro.org
Thu Sep 4 00:09:39 CEST 2025
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.
Signed-off-by: Javier Tia <javier.tia at linaro.org>
---
tools/zynqmp_psu_init_minimize.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/zynqmp_psu_init_minimize.sh b/tools/zynqmp_psu_init_minimize.sh
index 5c8b73703bf..f8b729ebc97 100755
--- a/tools/zynqmp_psu_init_minimize.sh
+++ b/tools/zynqmp_psu_init_minimize.sh
@@ -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}
--
2.51.0
More information about the U-Boot
mailing list