lkml.org 
[lkml]   [2008]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] leds-fsg: Change order of initialization and deinitialization
Sven Wegener wrote:
> On initialization, we first do the ioremap and then register the led devices.
> On deinitialization, we do it in reverse order. This prevents someone calling
> into the brightness_set functions with an invalid latch_address.
>
> Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
> Cc: Rod Whitby <rod@whitby.id.au>

Acked-by: Rod Whitby <rod@whitby.id.au>

Thanks.

-- Rod


\
 
 \ /
  Last update: 2008-07-28 01:47    [W:0.692 / U:0.176 seconds]
©2003-2011 Jasper Spaans. Advertise on this site