summaryrefslogtreecommitdiff
path: root/drivers/leds/ledtrig-ide-disk.c
diff options
context:
space:
mode:
authorNémeth Márton <nm127@freemail.hu>2008-03-09 23:59:57 +0300
committerRichard Purdie <rpurdie@rpsys.net>2008-04-25 02:37:42 +0400
commit4d404fd5c51772720e9c72aa3185bd5119bc6e69 (patch)
tree31fc8b3a99ca54a060a61e94a3f8acc05494fcfd /drivers/leds/ledtrig-ide-disk.c
parent0013b23d66a2768f5babbb0ea9f03ab067a990d8 (diff)
downloadlinux-4d404fd5c51772720e9c72aa3185bd5119bc6e69.tar.xz
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/ledtrig-ide-disk.c')
-rw-r--r--drivers/leds/ledtrig-ide-disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/ledtrig-ide-disk.c b/drivers/leds/ledtrig-ide-disk.c
index 54b155c7026f..883a577b1b97 100644
--- a/drivers/leds/ledtrig-ide-disk.c
+++ b/drivers/leds/ledtrig-ide-disk.c
@@ -38,7 +38,7 @@ static void ledtrig_ide_timerfunc(unsigned long data)
if (ide_lastactivity != ide_activity) {
ide_lastactivity = ide_activity;
led_trigger_event(ledtrig_ide, LED_FULL);
- mod_timer(&ledtrig_ide_timer, jiffies + msecs_to_jiffies(10));
+ mod_timer(&ledtrig_ide_timer, jiffies + msecs_to_jiffies(10));
} else {
led_trigger_event(ledtrig_ide, LED_OFF);
}