lkml.org 
[lkml]   [2013]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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 <jg1.han@samsung.com>
> ---
> 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/


\
 
 \ /
  Last update: 2013-04-08 18:01    [W:0.066 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site