Re: [PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-06-20 Thread Herbert Xu
On Sun, Jun 01, 2014 at 06:56:41PM +0200, Marek Vasut wrote: > On Tuesday, May 27, 2014 at 08:25:48 PM, Himangi Saraogi wrote: > > This patch moves data allocated using kzalloc to managed data allocated > > using devm_kzalloc and cleans now unnecessary kfrees in probe and remove > > functions. Als

Re: [PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-06-01 Thread Marek Vasut
On Tuesday, May 27, 2014 at 08:25:48 PM, Himangi Saraogi wrote: > This patch moves data allocated using kzalloc to managed data allocated > using devm_kzalloc and cleans now unnecessary kfrees in probe and remove > functions. Also, linux/device.h is added to make sure the devm_*() > routine declar