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-clevo-mail.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-clevo-mail.c')
-rw-r--r-- | drivers/leds/leds-clevo-mail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c index d78fe6cd5a52..eb3415e88f43 100644 --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #define CLEVO_MAIL_LED_BLINK_1HZ 0x008A | 14 | #define CLEVO_MAIL_LED_BLINK_1HZ 0x008A |
15 | #define CLEVO_MAIL_LED_BLINK_0_5HZ 0x0083 | 15 | #define CLEVO_MAIL_LED_BLINK_0_5HZ 0x0083 |
16 | 16 | ||
17 | MODULE_AUTHOR("Márton Németh <nm127@freemail.hu>"); | 17 | MODULE_AUTHOR("Márton Németh <nm127@freemail.hu>"); |
18 | MODULE_DESCRIPTION("Clevo mail LED driver"); | 18 | MODULE_DESCRIPTION("Clevo mail LED driver"); |
19 | MODULE_LICENSE("GPL"); | 19 | MODULE_LICENSE("GPL"); |
20 | 20 | ||
@@ -103,8 +103,8 @@ static void clevo_mail_led_set(struct led_classdev *led_cdev, | |||
103 | } | 103 | } |
104 | 104 | ||
105 | static int clevo_mail_led_blink(struct led_classdev *led_cdev, | 105 | static int clevo_mail_led_blink(struct led_classdev *led_cdev, |
106 | unsigned long* delay_on, | 106 | unsigned long *delay_on, |
107 | unsigned long* delay_off) | 107 | unsigned long *delay_off) |
108 | { | 108 | { |
109 | int status = -EINVAL; | 109 | int status = -EINVAL; |
110 | 110 | ||