lkml.org 
[lkml]   [2013]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/14] power: 88pm860x_charger: drop kfree of devm_kzalloc'd data
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@samsung.com>
> ---

1-14 applied, thanks!

Anton


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