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.019 / U:31.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site