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

From: David Miller
Date: Tue Jul 22 2014 - 00:38:06 EST


From: Himangi Saraogi <himangi774@xxxxxxxxx>
Date: Tue, 27 May 2014 03:02:07 +0530

> This patch moves data allocated using kzalloc to managed data allocated
> using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
> functions. The header file is added to make the devm function explicitly
> available.
>
> The following Coccinelle semantic patch was used for making a part of
> the change:
...
> Signed-off-by: Himangi Saraogi <himangi774@xxxxxxxxx>
> Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
> Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

Applied to sparc-next.
--
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/