From: Andrii Tseglytskyi Date: Thu, 30 May 2013 10:43:56 +0000 (+0300) Subject: PM / AVS: SmartReflex: use devm_* API to initialize SmartReflex X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~19^2~8^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efca406b940e93e6af38c597eecd5fb79b39b7ea;p=pandora-kernel.git 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 Signed-off-by: Andrii Tseglytskyi Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed