functions: clean up whitespace

In vi/vim, some code blocks were not aligned properly, and there
were extra blank lines that needed to be removed. This should
help to improve readability.

Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
1 file changed