aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/status_led.c
diff options
context:
space:
mode:
authorSimon Glass2019-11-14 12:57:12 -0700
committerTom Rini2019-12-02 18:23:06 -0500
commitc076e5c9b35fc20cdea076e8eae71126e7cadd4f (patch)
tree7698b09c5c998d60803c88193f8bb82a1e1bbd57 /drivers/misc/status_led.c
parentc3e4430ef3ea313dd4c97d8b089bd841e66d394b (diff)
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>
Diffstat (limited to 'drivers/misc/status_led.c')
-rw-r--r--drivers/misc/status_led.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/status_led.c b/drivers/misc/status_led.c
index 8983ab40e46..a6e9c03a02e 100644
--- a/drivers/misc/status_led.c
+++ b/drivers/misc/status_led.c
@@ -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];