]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: exynos-tmu: fix warnings and clean up code
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Fri, 5 Apr 2013 22:21:38 +0000 (15:21 -0700)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 13 Jun 2013 08:53:37 +0000 (17:53 +0900)
commit1149ca005a548aff8e65d44634d31db965ed66bd
tree3804cb67943c83764fb7924de36d827875cf5535
parent2a91c9134675140853577b565210458b5774e6cf
power: exynos-tmu: fix warnings and clean up code

This patch does the folowing
1. change the data types for unsigned int variable to unsigned
2. change the tmu_base type to struct exynos5_tmu_reg *
3. Add timer functionality for get_cur_temp()
4. error handling in the get_tmu_fdt_values()
5. Add check for curr_temp reading
6. some cosmotic changes.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Reviewed-by: Vadim Bendebury <vbendeb@google.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/include/asm/arch-exynos/tmu.h
drivers/power/exynos-tmu.c