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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user