Fixed all leaks and warnings

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>

(cherry picked from commit b83b0e9a1f7ed03d2f8a91a7e0ddb9910b5d8820)

Conflicts:
	arch/arm/mach-msm/clock-generic.c