summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorOlliver Schinagl <o.schinagl@ultimaker.com>2015-12-03 17:49:29 +0100
committerHans de Goede <hdegoede@redhat.com>2015-12-10 15:45:48 +0100
commit23baf66f2594fa4777fc9ec5f6c33d21b8151b69 (patch)
tree8b759d202bc2e015935cc12dcadaf0ea0940caba /arch
parent887e2fd9daf0be92395046b85efc38af0c6ccda1 (diff)
downloadblackbird-obmc-uboot-23baf66f2594fa4777fc9ec5f6c33d21b8151b69.tar.gz
blackbird-obmc-uboot-23baf66f2594fa4777fc9ec5f6c33d21b8151b69.zip
sun4i: clock: Cleanup some whitespace errors
Add some spaces around operators. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/sunxi/clock_sun4i.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/clock_sun4i.c b/arch/arm/cpu/armv7/sunxi/clock_sun4i.c
index ef62c4f9d3..7e6bd6137e 100644
--- a/arch/arm/cpu/armv7/sunxi/clock_sun4i.c
+++ b/arch/arm/cpu/armv7/sunxi/clock_sun4i.c
@@ -59,7 +59,7 @@ void clock_init_uart(void)
/* open the clock for uart */
setbits_le32(&ccm->apb1_gate,
- CLK_GATE_OPEN << (APB1_GATE_UART_SHIFT+CONFIG_CONS_INDEX-1));
+ CLK_GATE_OPEN << (APB1_GATE_UART_SHIFT+CONFIG_CONS_INDEX - 1));
}
int clock_twi_onoff(int port, int state)
@@ -70,10 +70,10 @@ int clock_twi_onoff(int port, int state)
/* set the apb clock gate for twi */
if (state)
setbits_le32(&ccm->apb1_gate,
- CLK_GATE_OPEN << (APB1_GATE_TWI_SHIFT+port));
+ CLK_GATE_OPEN << (APB1_GATE_TWI_SHIFT + port));
else
clrbits_le32(&ccm->apb1_gate,
- CLK_GATE_OPEN << (APB1_GATE_TWI_SHIFT+port));
+ CLK_GATE_OPEN << (APB1_GATE_TWI_SHIFT + port));
return 0;
}
OpenPOWER on IntegriCloud