diff options
author | Andrii Tseglytskyi | 2013-05-30 13:43:56 +0300 |
---|---|---|
committer | Kevin Hilman | 2013-06-10 10:50:48 -0700 |
commit | efca406b940e93e6af38c597eecd5fb79b39b7ea (patch) | |
tree | e574cadaf5887baaa7e1a49ce555601ea806fe76 /security/integrity | |
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>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions