aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorSven Wegener <[email protected]>2008-10-03 15:23:47 -0700
committerLinus Torvalds <[email protected]>2008-10-03 18:22:18 -0700
commit07f696c7772fb3501e9531de38333c49143a8d52 (patch)
tree790f946dac7a7be022cc9f87cc79768fe431327f /scripts/patch-kernel
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 <[email protected]> Acked-by: Rod Whitby <[email protected]> Acked-by: Richard Purdie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions