From: Olliver Schinagl <o.schin...@ultimaker.com>

Add some spaces around operators.

Signed-off-by: Olliver Schinagl <o.schin...@ultimaker.com>
---
 arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 6 +++---
 1 file 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 ed910b1..866b2d6 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)
@@ -77,10 +77,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;
 }
-- 
2.6.2

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to