Implement various code style fixes and similar changes. Signed-off-by: Timur Tabi <timur@freescale.com>