]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
thermal: exynos: Use devm_* functions
authorAmit Daniel Kachhap <amit.kachhap@linaro.org>
Thu, 16 Aug 2012 11:41:45 +0000 (05:41 -0600)
committerZhang Rui <rui.zhang@intel.com>
Mon, 24 Sep 2012 06:44:38 +0000 (14:44 +0800)
commit79e093c3fe9de9fe0743a53e4809f481d2719060
treefb89193f5a6cbf2bad85c842d12b29f497121470
parent17be868e04a1b98d72756ce7b51a95d03e7df49b
thermal: exynos: Use devm_* functions

devm_* functions are used to replace kzalloc, request_mem_region, ioremap
and request_irq functions in probe call. With the usage of devm_* functions
explicit freeing and unmapping is not required.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/exynos_thermal.c