]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/thermal/exynos_thermal.c: use devm_* functions
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 7 Sep 2012 00:17:56 +0000 (10:17 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:06 +0000 (15:36 +1000)
commit3e1e047b1874e85eaf97adc0276871ee0350c3fe
treee1d29cb8c315ae5de47377c1fc84a1a4c541d4c6
parente09d06afb3afe50f39d2f354175538b9f9b37b24
drivers/thermal/exynos_thermal.c: 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>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/thermal/exynos_thermal.c