commit | efca406b940e93e6af38c597eecd5fb79b39b7ea | [log] [tgz] |
---|---|---|
author | Andrii Tseglytskyi <andrii.tseglytskyi@ti.com> | Thu May 30 13:43:56 2013 +0300 |
committer | Kevin Hilman <khilman@linaro.org> | Mon Jun 10 10:50:48 2013 -0700 |
tree | e574cadaf5887baaa7e1a49ce555601ea806fe76 | |
parent | 299066bb376ef7720cc3d8de95d5b967c5446863 [diff] |
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>