lkml.org 
[lkml]   [2009]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] txx9wdt.c:52: Fix txx9wdt_probe() cleaning up after errors
From
On Tue, 25 Aug 2009 11:20:26 +0200, Roel Kluin <roel.kluin@gmail.com> wrote:
> Make txx9wdt_probe() clean up after errors.
>
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> ---
> Any comments?

Well, why is this patch needed? I intentionally omitted iounmap and
release_mem_region because devres guarantee these resources are freed
on probe failure. Or are there any leaks?

---
Atsushi Nemoto


\
 
 \ /
  Last update: 2009-08-27 17:01    [W:0.100 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site