sun4i: clock: Cleanup some whitespace errors
authorOlliver Schinagl <o.schinagl@ultimaker.com>
Thu, 3 Dec 2015 16:49:29 +0000 (17:49 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 10 Dec 2015 14:45:48 +0000 (15:45 +0100)
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>
arch/arm/cpu/armv7/sunxi/clock_sun4i.c

index ef62c4f9d3efbbdc0762f0d55ad65c62c0826c57..7e6bd6137e9ee41db4248f99ed02851f6caa7b2c 100644 (file)
@@ -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;
 }