Revision 07f696c7772fb3501e9531de38333c49143a8d52 authored by Sven Wegener on 03 October 2008, 22:23:47 UTC, committed by Linus Torvalds on 04 October 2008, 01:22:18 UTC
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>
1 parent 7fe7b2f
History
File Mode Size
Makefile -rw-r--r-- 335 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 7.0 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mqueue.c -rw-r--r-- 30.0 KB
msg.c -rw-r--r-- 20.8 KB
msgutil.c -rw-r--r-- 2.3 KB
namespace.c -rw-r--r-- 2.5 KB
sem.c -rw-r--r-- 33.7 KB
shm.c -rw-r--r-- 25.1 KB
util.c -rw-r--r-- 23.0 KB
util.h -rw-r--r-- 4.5 KB

back to top