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

From: Samuel Ortiz
Date: Mon Nov 26 2012 - 06:22:38 EST


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.aaru@xxxxxxxxx>
> ---
> drivers/mfd/jz4740-adc.c | 23 +++++++----------------
> 1 file changed, 7 insertions(+), 16 deletions(-)
Applied, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/