Re: [PATCH v2] iio:trigger: Introduce the use of devm_kzalloc

2014-07-07 Thread Jonathan Cameron
On 07/07/14 13:37, Lars-Peter Clausen wrote: On 07/07/2014 02:34 PM, Jonathan Cameron wrote: On 01/07/14 22:19, Himangi Saraogi wrote: This patch introduces the use of the managed version of kzalloc and removes the kfrees in the probe and remove functions. More return paths are added and the la

Re: [PATCH v2] iio:trigger: Introduce the use of devm_kzalloc

2014-07-07 Thread Lars-Peter Clausen
On 07/07/2014 02:52 PM, Julia Lawall wrote: On Mon, 7 Jul 2014, Jonathan Cameron wrote: On 01/07/14 22:19, Himangi Saraogi wrote: This patch introduces the use of the managed version of kzalloc and removes the kfrees in the probe and remove functions. More return paths are added and the labels

Re: [PATCH v2] iio:trigger: Introduce the use of devm_kzalloc

2014-07-07 Thread Julia Lawall
On Mon, 7 Jul 2014, Jonathan Cameron wrote: > On 01/07/14 22:19, Himangi Saraogi wrote: > > This patch introduces the use of the managed version of kzalloc and > > removes the kfrees in the probe and remove functions. More return > > paths are added and the labels are renamed to order them. > > >

Re: [PATCH v2] iio:trigger: Introduce the use of devm_kzalloc

2014-07-07 Thread Lars-Peter Clausen
On 07/07/2014 02:34 PM, Jonathan Cameron wrote: On 01/07/14 22:19, Himangi Saraogi wrote: This patch introduces the use of the managed version of kzalloc and removes the kfrees in the probe and remove functions. More return paths are added and the labels are renamed to order them. Signed-off-by

Re: [PATCH v2] iio:trigger: Introduce the use of devm_kzalloc

2014-07-07 Thread Jonathan Cameron
On 01/07/14 22:19, Himangi Saraogi wrote: This patch introduces the use of the managed version of kzalloc and removes the kfrees in the probe and remove functions. More return paths are added and the labels are renamed to order them. Signed-off-by: Himangi Saraogi Looks sane, but I'd like an a

[PATCH v2] iio:trigger: Introduce the use of devm_kzalloc

2014-07-01 Thread Himangi Saraogi
This patch introduces the use of the managed version of kzalloc and removes the kfrees in the probe and remove functions. More return paths are added and the labels are renamed to order them. Signed-off-by: Himangi Saraogi --- v2: add more return paths Not compile tested. drivers/staging/iio/tri