lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] display7seg: Introduce the use of the managed version of kzalloc
From
From: Himangi Saraogi <himangi774@gmail.com>
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@gmail.com>
> Acked-by: Julia Lawall <julia.lawall@lip6.fr>
> Acked-by: Sam Ravnborg <sam@ravnborg.org>

Applied to sparc-next.


\
 
 \ /
  Last update: 2014-07-22 07:22    [W:0.073 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site