lkml.org 
[lkml]   [2012]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] pinctrl/pinctrl-u300: remove unneeded devm_kfree call
From
On Sat, Jul 21, 2012 at 10:37 AM, Devendra Naga
<develkernel412222@gmail.com> wrote:

> the allocated memory will be destroyed at the driver unload time,
> automatically if driver uses the devm_ functions, so no need of
> doing devm_kfree at the error path
>
> Signed-off-by: Devendra Naga <develkernel412222@gmail.com>

Applied.

Thanks!
Linus Walleij


\
 
 \ /
  Last update: 2012-07-28 01:21    [W:1.477 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site