mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
status_led: Tidy up the code style
There are a few whitespace problems with this code. Tidy them up. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
c3e4430ef3
commit
c076e5c9b3
3 changed files with 7 additions and 7 deletions
|
@ -83,7 +83,7 @@ void timer_interrupt (struct pt_regs *regs)
|
|||
#endif /* CONFIG_WATCHDOG || CONFIG_HW_WATCHDOG */
|
||||
|
||||
#ifdef CONFIG_LED_STATUS
|
||||
status_led_tick (timestamp);
|
||||
status_led_tick(timestamp);
|
||||
#endif /* CONFIG_LED_STATUS */
|
||||
}
|
||||
|
||||
|
|
|
@ -82,13 +82,13 @@ void status_led_init(void)
|
|||
status_led_init_done = 1;
|
||||
}
|
||||
|
||||
void status_led_tick (ulong timestamp)
|
||||
void status_led_tick(ulong timestamp)
|
||||
{
|
||||
led_dev_t *ld;
|
||||
int i;
|
||||
|
||||
if (!status_led_init_done)
|
||||
status_led_init ();
|
||||
status_led_init();
|
||||
|
||||
for (i = 0, ld = led_dev; i < MAX_LED_DEV; i++, ld++) {
|
||||
|
||||
|
@ -103,7 +103,7 @@ void status_led_tick (ulong timestamp)
|
|||
}
|
||||
}
|
||||
|
||||
void status_led_set (int led, int state)
|
||||
void status_led_set(int led, int state)
|
||||
{
|
||||
led_dev_t *ld;
|
||||
|
||||
|
@ -111,7 +111,7 @@ void status_led_set (int led, int state)
|
|||
return;
|
||||
|
||||
if (!status_led_init_done)
|
||||
status_led_init ();
|
||||
status_led_init();
|
||||
|
||||
ld = &led_dev[led];
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
#endif /* CONFIG_LED_STATUS5 */
|
||||
|
||||
void status_led_init(void);
|
||||
void status_led_tick (unsigned long timestamp);
|
||||
void status_led_set (int led, int state);
|
||||
void status_led_tick(unsigned long timestamp);
|
||||
void status_led_set(int led, int state);
|
||||
|
||||
/***** MVS v1 **********************************************************/
|
||||
#if (defined(CONFIG_MVS) && CONFIG_MVS < 2)
|
||||
|
|
Loading…
Reference in a new issue