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-hp6xx.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-hp6xx.c')
-rw-r--r-- | drivers/leds/leds-hp6xx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/leds/leds-hp6xx.c b/drivers/leds/leds-hp6xx.c index 870f5a3789e8..844d5979c904 100644 --- a/drivers/leds/leds-hp6xx.c +++ b/drivers/leds/leds-hp6xx.c | |||
@@ -17,7 +17,8 @@ | |||
17 | #include <asm/hd64461.h> | 17 | #include <asm/hd64461.h> |
18 | #include <asm/hp6xx.h> | 18 | #include <asm/hp6xx.h> |
19 | 19 | ||
20 | static void hp6xxled_green_set(struct led_classdev *led_cdev, enum led_brightness value) | 20 | static void hp6xxled_green_set(struct led_classdev *led_cdev, |
21 | enum led_brightness value) | ||
21 | { | 22 | { |
22 | u8 v8; | 23 | u8 v8; |
23 | 24 | ||
@@ -28,7 +29,8 @@ static void hp6xxled_green_set(struct led_classdev *led_cdev, enum led_brightnes | |||
28 | outb(v8 | PKDR_LED_GREEN, PKDR); | 29 | outb(v8 | PKDR_LED_GREEN, PKDR); |
29 | } | 30 | } |
30 | 31 | ||
31 | static void hp6xxled_red_set(struct led_classdev *led_cdev, enum led_brightness value) | 32 | static void hp6xxled_red_set(struct led_classdev *led_cdev, |
33 | enum led_brightness value) | ||
32 | { | 34 | { |
33 | u16 v16; | 35 | u16 v16; |
34 | 36 | ||