summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2014-06-23 21:18:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-26 21:02:13 -0400
commit60e66d874a3b18862dae3c15e6281240b678bc8f (patch)
treeca1f081b8d885ba57b76e4cab1be35c342d12042
parentea20548a829eb0bfbca2b8743f75f67bc3be4b1c (diff)
Staging: bcm: led_control.c: Refactored line lengths
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/bcm/led_control.c28
1 files changed, 10 insertions, 18 deletions
diff --git a/drivers/staging/bcm/led_control.c b/drivers/staging/bcm/led_control.c
index 4cf4212dd507..c0509ae16d4f 100644
--- a/drivers/staging/bcm/led_control.c
+++ b/drivers/staging/bcm/led_control.c
@@ -118,37 +118,29 @@ static INT blink_in_normal_bandwidth(struct bcm_mini_adapter *ad,
*num_of_time = *num_of_time_tx;
if (*num_of_time > 0) {
/* Blink both Tx and Rx LEDs */
- if (LED_Blink(ad, 1 << GPIO_Num_tx,
- uiTxLedIndex, *timeout,
- *num_of_time, currdriverstate)
- == EVENT_SIGNALED)
+ if (LED_Blink(ad, 1 << GPIO_Num_tx, uiTxLedIndex, *timeout,
+ *num_of_time, currdriverstate) == EVENT_SIGNALED)
return EVENT_SIGNALED;
- if (LED_Blink(ad, 1 << GPIO_Num_rx,
- uiRxLedIndex, *timeout,
- *num_of_time, currdriverstate)
- == EVENT_SIGNALED)
+ if (LED_Blink(ad, 1 << GPIO_Num_rx, uiRxLedIndex, *timeout,
+ *num_of_time, currdriverstate) == EVENT_SIGNALED)
return EVENT_SIGNALED;
}
if (*num_of_time == *num_of_time_tx) {
/* Blink pending rate of Rx */
- if (LED_Blink(ad, (1 << GPIO_Num_rx),
- uiRxLedIndex, *timeout,
- *num_of_time_rx - *num_of_time,
- currdriverstate)
- == EVENT_SIGNALED)
+ if (LED_Blink(ad, (1 << GPIO_Num_rx), uiRxLedIndex, *timeout,
+ *num_of_time_rx - *num_of_time,
+ currdriverstate) == EVENT_SIGNALED)
return EVENT_SIGNALED;
*num_of_time = *num_of_time_rx;
} else {
/* Blink pending rate of Tx */
- if (LED_Blink(ad, 1 << GPIO_Num_tx,
- uiTxLedIndex, *timeout,
- *num_of_time_tx - *num_of_time,
- currdriverstate)
- == EVENT_SIGNALED)
+ if (LED_Blink(ad, 1 << GPIO_Num_tx, uiTxLedIndex, *timeout,
+ *num_of_time_tx - *num_of_time,
+ currdriverstate) == EVENT_SIGNALED)
return EVENT_SIGNALED;
*num_of_time = *num_of_time_tx;