linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] clk: socfpga: remove a stray tab
@ 2015-05-27  8:26 Dan Carpenter
  2015-05-27 13:21 ` Dinh Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Carpenter @ 2015-05-27  8:26 UTC (permalink / raw)
  To: Dinh Nguyen; +Cc: Mike Turquette, Stephen Boyd, linux-clk, kernel-janitors

This line was indented too far.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/clk/socfpga/clk-gate-a10.c b/drivers/clk/socfpga/clk-gate-a10.c
index be3e998..83c6780 100644
--- a/drivers/clk/socfpga/clk-gate-a10.c
+++ b/drivers/clk/socfpga/clk-gate-a10.c
@@ -39,7 +39,7 @@ static unsigned long socfpga_gate_clk_recalc_rate(struct clk_hw *hwclk,
 	else if (socfpgaclk->div_reg) {
 		val = readl(socfpgaclk->div_reg) >> socfpgaclk->shift;
 		val &= div_mask(socfpgaclk->width);
-			div = (1 << val);
+		div = (1 << val);
 	}
 
 	return parent_rate / div;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [patch] clk: socfpga: remove a stray tab
  2015-05-27  8:26 [patch] clk: socfpga: remove a stray tab Dan Carpenter
@ 2015-05-27 13:21 ` Dinh Nguyen
  2015-06-03 23:21   ` Michael Turquette
  0 siblings, 1 reply; 3+ messages in thread
From: Dinh Nguyen @ 2015-05-27 13:21 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: Mike Turquette, Stephen Boyd, linux-clk, kernel-janitors



On 5/27/15 3:26 AM, Dan Carpenter wrote:
> This line was indented too far.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> 
> diff --git a/drivers/clk/socfpga/clk-gate-a10.c b/drivers/clk/socfpga/clk-gate-a10.c
> index be3e998..83c6780 100644
> --- a/drivers/clk/socfpga/clk-gate-a10.c
> +++ b/drivers/clk/socfpga/clk-gate-a10.c
> @@ -39,7 +39,7 @@ static unsigned long socfpga_gate_clk_recalc_rate(struct clk_hw *hwclk,
>  	else if (socfpgaclk->div_reg) {
>  		val = readl(socfpgaclk->div_reg) >> socfpgaclk->shift;
>  		val &= div_mask(socfpgaclk->width);
> -			div = (1 << val);
> +		div = (1 << val);
>  	}
>  
>  	return parent_rate / div;
> 

Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] clk: socfpga: remove a stray tab
  2015-05-27 13:21 ` Dinh Nguyen
@ 2015-06-03 23:21   ` Michael Turquette
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Turquette @ 2015-06-03 23:21 UTC (permalink / raw)
  To: Dinh Nguyen, Dan Carpenter; +Cc: Stephen Boyd, linux-clk, kernel-janitors

Quoting Dinh Nguyen (2015-05-27 06:21:56)
> =

> =

> On 5/27/15 3:26 AM, Dan Carpenter wrote:
> > This line was indented too far.
> > =

> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> > =

> > diff --git a/drivers/clk/socfpga/clk-gate-a10.c b/drivers/clk/socfpga/c=
lk-gate-a10.c
> > index be3e998..83c6780 100644
> > --- a/drivers/clk/socfpga/clk-gate-a10.c
> > +++ b/drivers/clk/socfpga/clk-gate-a10.c
> > @@ -39,7 +39,7 @@ static unsigned long socfpga_gate_clk_recalc_rate(str=
uct clk_hw *hwclk,
> >       else if (socfpgaclk->div_reg) {
> >               val =3D readl(socfpgaclk->div_reg) >> socfpgaclk->shift;
> >               val &=3D div_mask(socfpgaclk->width);
> > -                     div =3D (1 << val);
> > +             div =3D (1 << val);
> >       }
> >  =

> >       return parent_rate / div;
> > =

> =

> Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>

Applied.

Regards,
Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-03 23:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27  8:26 [patch] clk: socfpga: remove a stray tab Dan Carpenter
2015-05-27 13:21 ` Dinh Nguyen
2015-06-03 23:21   ` Michael Turquette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).