Re: [PATCH] mfd: jz4740-adc: use devm_kzalloc

2012-11-26 Thread Samuel Ortiz
Hi Devendra, On Sat, Nov 24, 2012 at 06:14:38AM -0500, Devendra Naga wrote: > use devm_kzalloc and remove the error path free'ing and unload free'ing > as the devm resource functions free them. > > Signed-off-by: Devendra Naga > --- > drivers/mfd/jz4740-adc.c | 23 +++ > 1

Re: [PATCH] mfd: jz4740-adc: use devm_kzalloc

2012-11-26 Thread Samuel Ortiz
Hi Devendra, On Sat, Nov 24, 2012 at 06:14:38AM -0500, Devendra Naga wrote: use devm_kzalloc and remove the error path free'ing and unload free'ing as the devm resource functions free them. Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/mfd/jz4740-adc.c | 23

[PATCH] mfd: jz4740-adc: use devm_kzalloc

2012-11-24 Thread Devendra Naga
use devm_kzalloc and remove the error path free'ing and unload free'ing as the devm resource functions free them. Signed-off-by: Devendra Naga --- drivers/mfd/jz4740-adc.c | 23 +++ 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/drivers/mfd/jz4740-adc.c

[PATCH] mfd: jz4740-adc: use devm_kzalloc

2012-11-24 Thread Devendra Naga
use devm_kzalloc and remove the error path free'ing and unload free'ing as the devm resource functions free them. Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/mfd/jz4740-adc.c | 23 +++ 1 file changed, 7 insertions(+), 16 deletions(-) diff --git