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 <michal.simek@amd.com>
Signed-off-by: Javier Tia <javier.tia@linaro.org>
This commit is contained in:
Javier Tia
2025-09-05 14:53:45 -06:00
committed by Tom Rini
parent 29f6db89ad
commit aa711ac815

View File

@@ -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}