diff options
author | Németh Márton <nm127@freemail.hu> | 2008-03-09 16:59:57 -0400 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-04-24 18:37:42 -0400 |
commit | 4d404fd5c51772720e9c72aa3185bd5119bc6e69 (patch) | |
tree | 31fc8b3a99ca54a060a61e94a3f8acc05494fcfd /drivers/leds/leds-cobalt-raq.c | |
parent | 0013b23d66a2768f5babbb0ea9f03ab067a990d8 (diff) |
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/leds-cobalt-raq.c')
-rw-r--r-- | drivers/leds/leds-cobalt-raq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-cobalt-raq.c b/drivers/leds/leds-cobalt-raq.c index 6ebfff341e6c..ff0e8c3fbf9b 100644 --- a/drivers/leds/leds-cobalt-raq.c +++ b/drivers/leds/leds-cobalt-raq.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * | 15 | * |
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License |
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software |
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | */ | 19 | */ |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/io.h> | 21 | #include <linux/io.h> |
@@ -33,7 +33,7 @@ static u8 led_value; | |||
33 | static DEFINE_SPINLOCK(led_value_lock); | 33 | static DEFINE_SPINLOCK(led_value_lock); |
34 | 34 | ||
35 | static void raq_web_led_set(struct led_classdev *led_cdev, | 35 | static void raq_web_led_set(struct led_classdev *led_cdev, |
36 | enum led_brightness brightness) | 36 | enum led_brightness brightness) |
37 | { | 37 | { |
38 | unsigned long flags; | 38 | unsigned long flags; |
39 | 39 | ||
@@ -54,7 +54,7 @@ static struct led_classdev raq_web_led = { | |||
54 | }; | 54 | }; |
55 | 55 | ||
56 | static void raq_power_off_led_set(struct led_classdev *led_cdev, | 56 | static void raq_power_off_led_set(struct led_classdev *led_cdev, |
57 | enum led_brightness brightness) | 57 | enum led_brightness brightness) |
58 | { | 58 | { |
59 | unsigned long flags; | 59 | unsigned long flags; |
60 | 60 | ||