diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-05-03 07:22:19 -0400 |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-05-03 07:22:19 -0400 |
commit | 1f9c381fa3e0b9b9042e310c69df87eaf9b46ea4 (patch) | |
tree | a683349fc21ff4c892b032ad1681d67a1ebf547a /arch/arm/mach-integrator | |
parent | 5c3073e691b56dabbdec60dda4258b4e50d64872 (diff) |
[PATCH] ARM: Clean up commenting/spacing for Integrator
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-integrator')
-rw-r--r-- | arch/arm/mach-integrator/core.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-integrator/leds.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-integrator/core.c b/arch/arm/mach-integrator/core.c index 86c50c3889b7..bd17b5154311 100644 --- a/arch/arm/mach-integrator/core.c +++ b/arch/arm/mach-integrator/core.c | |||
@@ -216,7 +216,9 @@ integrator_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
216 | 216 | ||
217 | write_seqlock(&xtime_lock); | 217 | write_seqlock(&xtime_lock); |
218 | 218 | ||
219 | // ...clear the interrupt | 219 | /* |
220 | * clear the interrupt | ||
221 | */ | ||
220 | timer1->TimerClear = 1; | 222 | timer1->TimerClear = 1; |
221 | 223 | ||
222 | timer_tick(regs); | 224 | timer_tick(regs); |
@@ -264,7 +266,7 @@ void __init integrator_time_init(unsigned long reload, unsigned int ctrl) | |||
264 | timer1->TimerValue = timer_reload; | 266 | timer1->TimerValue = timer_reload; |
265 | timer1->TimerControl = timer_ctrl; | 267 | timer1->TimerControl = timer_ctrl; |
266 | 268 | ||
267 | /* | 269 | /* |
268 | * Make irqs happen for the system timer | 270 | * Make irqs happen for the system timer |
269 | */ | 271 | */ |
270 | setup_irq(IRQ_TIMERINT1, &integrator_timer_irq); | 272 | setup_irq(IRQ_TIMERINT1, &integrator_timer_irq); |
diff --git a/arch/arm/mach-integrator/leds.c b/arch/arm/mach-integrator/leds.c index 9d182b77b312..d2c0ab21150c 100644 --- a/arch/arm/mach-integrator/leds.c +++ b/arch/arm/mach-integrator/leds.c | |||
@@ -37,7 +37,7 @@ static void integrator_leds_event(led_event_t ledevt) | |||
37 | unsigned long flags; | 37 | unsigned long flags; |
38 | const unsigned int dbg_base = IO_ADDRESS(INTEGRATOR_DBG_BASE); | 38 | const unsigned int dbg_base = IO_ADDRESS(INTEGRATOR_DBG_BASE); |
39 | unsigned int update_alpha_leds; | 39 | unsigned int update_alpha_leds; |
40 | 40 | ||
41 | // yup, change the LEDs | 41 | // yup, change the LEDs |
42 | local_irq_save(flags); | 42 | local_irq_save(flags); |
43 | update_alpha_leds = 0; | 43 | update_alpha_leds = 0; |