aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/led-core.c
diff options
context:
space:
mode:
authorNémeth Márton <nm127@freemail.hu>2008-03-09 20:59:57 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-04-24 23:37:42 +0100
commit4d404fd5c51772720e9c72aa3185bd5119bc6e69 (patch)
tree31fc8b3a99ca54a060a61e94a3f8acc05494fcfd /drivers/leds/led-core.c
parentleds: disable triggers on brightness set (diff)
downloadlinux-dev-4d404fd5c51772720e9c72aa3185bd5119bc6e69.tar.xz
linux-dev-4d404fd5c51772720e9c72aa3185bd5119bc6e69.zip
leds: Cleanup various whitespace and code style issues
Break the lines which were more than 80 characters into more lines; replace SPACEs with TABs; correct ident at switch-case; change character encoding from ISO-8859-2 to UTF-8. The order of the functions in led-triggers.c changed in order the similar functions can still be together under titles "Used by LED Class", "LED Trigger Interface" and "Simple LED Tigger Interface" as was grouped before when exported with EXPORT_SYMBOL. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/leds/led-core.c')
-rw-r--r--drivers/leds/led-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c
index 5d1ca10524b6..016d19f5486f 100644
--- a/drivers/leds/led-core.c
+++ b/drivers/leds/led-core.c
@@ -19,7 +19,7 @@
#include "leds.h"
DECLARE_RWSEM(leds_list_lock);
-LIST_HEAD(leds_list);
+EXPORT_SYMBOL_GPL(leds_list_lock);
+LIST_HEAD(leds_list);
EXPORT_SYMBOL_GPL(leds_list);
-EXPORT_SYMBOL_GPL(leds_list_lock);