summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorAndrii Tseglytskyi <andrii.tseglytskyi@ti.com>2013-05-30 13:43:56 +0300
committerKevin Hilman <khilman@linaro.org>2013-06-10 10:50:48 -0700
commitefca406b940e93e6af38c597eecd5fb79b39b7ea (patch)
treee574cadaf5887baaa7e1a49ce555601ea806fe76 /arch/arm/mach-omap2
parent299066bb376ef7720cc3d8de95d5b967c5446863 (diff)
downloadop-kernel-dev-efca406b940e93e6af38c597eecd5fb79b39b7ea.zip
op-kernel-dev-efca406b940e93e6af38c597eecd5fb79b39b7ea.tar.gz
PM / AVS: SmartReflex: use devm_* API to initialize SmartReflex
Use of of devm_* API for resource allocation provides benefits such as auto handling of resource free. This reduces possibility have memory leaks in case of wrong error handling. All direct release calls should be removed to avoid races. Reported-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud