public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] sun4i: clock: cleanup some whitespace errors
Date: Thu, 10 Dec 2015 12:32:43 +0100	[thread overview]
Message-ID: <566962DB.9010906@redhat.com> (raw)
In-Reply-To: <1449161369-11771-3-git-send-email-oliver@schinagl.nl>

Hi,

On 12/03/2015 05:49 PM, Olliver Schinagl wrote:
> From: Olliver Schinagl <o.schinagl@ultimaker.com>
>
> Add some spaces around operators.
>
> Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>

Thanks, applied.

Regards,

Hans


> ---
>   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;
>   }
>

      reply	other threads:[~2015-12-10 11:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 16:49 [U-Boot] [PATCH 0/2] arm: sunxi: twi: enable clock for sun7i Olliver Schinagl
2015-12-03 16:49 ` [U-Boot] [PATCH 1/2] sunxi: twi: enable clocks on sun7i Olliver Schinagl
2015-12-03 22:57   ` [U-Boot] [linux-sunxi] " Julian Calaby
2015-12-03 23:01     ` Julian Calaby
2015-12-04  7:32       ` Olliver Schinagl
2015-12-10 11:32   ` [U-Boot] " Hans de Goede
2015-12-03 16:49 ` [U-Boot] [PATCH 2/2] sun4i: clock: cleanup some whitespace errors Olliver Schinagl
2015-12-10 11:32   ` Hans de Goede [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=566962DB.9010906@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox