summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Tia <[email protected]>2025-09-05 14:53:45 -0600
committerTom Rini <[email protected]>2025-09-16 13:45:00 -0600
commitaa711ac815618bdc2c992c4b3869f6ef27b80202 (patch)
tree10e089127b0cb628af01eeafe57a5cbd4a50a1ac
parent29f6db89add2a5484ac478ba93d4574bb65ee158 (diff)
tools: zynqmp_psu_init_minimize.sh: Switch to clang-format
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 <[email protected]> Signed-off-by: Javier Tia <[email protected]>
-rwxr-xr-xtools/zynqmp_psu_init_minimize.sh2
1 files changed, 1 insertions, 1 deletions
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}