2013-04-08 15:26:14

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH V2 1/9] mfd: 88pm860x: drop devm_kfree of devm_kzalloc'd data

Hi Jingoo,

On Wed, Feb 20, 2013 at 06:27:21PM +0900, Jingoo Han wrote:
> devm_kfree() allocates memory that is released when a driver detaches.
> Thus, there is no reason to explicitly call devm_kfree() in probe or remove
> functions.
>
> Signed-off-by: Jingoo Han <[email protected]>
> ---
> No changes since v1:
>
> drivers/mfd/88pm860x-core.c | 12 +++---------
> 1 files changed, 3 insertions(+), 9 deletions(-)
All 9 patches applied to mfd-next, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/