Re: [PATCH 01/14] power: 88pm860x_charger: drop kfree ofdevm_kzalloc'd data

From: Anton Vorontsov
Date: Mon Apr 01 2013 - 02:33:15 EST


On Mon, Mar 11, 2013 at 03:30:40PM +0900, Jingoo Han wrote:
> The devm_kzalloc function allocates memory that is released
> automatically, when a driver detaches. Thus, there is no reason
> to explicitly call kfree in probe or remove functions.
>
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> ---

1-14 applied, thanks!

Anton
--
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/