Messages in this thread | | | From | Kevin Hilman <> | Subject | Re: [PATCH v2 1/2] PM / AVS: SmartReflex: use devm_* API to initialize SmartReflex | Date | Mon, 10 Jun 2013 10:51:13 -0700 |
| |
Andrii Tseglytskyi <andrii.tseglytskyi@ti.com> writes:
> 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>
Thanks, queuing this for v3.11.
Kevin
| |