aboutsummaryrefslogtreecommitdiffstats
path: root/lib/halfmd4.c
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-10-03 18:23:47 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-03 21:22:18 -0400
commit07f696c7772fb3501e9531de38333c49143a8d52 (patch)
tree790f946dac7a7be022cc9f87cc79768fe431327f /lib/halfmd4.c
parent7fe7b2f4ec14d6517078c5bc32b04301b468041c (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 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions