mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
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>
This commit is contained in:
parent
887e2fd9da
commit
23baf66f25
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue