diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2008-10-03 15:23:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-03 18:22:18 -0700 |
commit | 07f696c7772fb3501e9531de38333c49143a8d52 (patch) | |
tree | 790f946dac7a7be022cc9f87cc79768fe431327f /fs/jffs2 | |
parent | 7fe7b2f4ec14d6517078c5bc32b04301b468041c (diff) |
leds-fsg: change order of initialization and deinitialization
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>
Acked-by: Rod Whitby <rod@whitby.id.au>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions