diff options
author | Sven Wegener <[email protected]> | 2008-10-03 15:23:47 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-10-03 18:22:18 -0700 |
commit | 07f696c7772fb3501e9531de38333c49143a8d52 (patch) | |
tree | 790f946dac7a7be022cc9f87cc79768fe431327f /net/unix/sysctl_net_unix.c | |
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 <[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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions