]> git.karo-electronics.de Git - karo-tx-linux.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, 10 Sep 2012 06:31:42 +0000 (14:31 +0800)
commit2de237a95fd4d526bbd5f06934876f814a707708
treeedcdbe87d1cde06e07ab0137df16d190798ac9d3
parent581948471c45f4a43bb419ba8a2faed6cf951485
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>
drivers/thermal/exynos_thermal.c