Skip to contentSkip to conversation

clk: socfpga: remove a stray tab

PATCH Applied Dan Carpenter 3 participants 3 messages May 27, 2015 – Jun 3, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: socfpga: remove a stray tab

This line was indented too far.

drivers/clk/socfpga/clk-gate-a10.c +1 -1
index be3e998..83c6780 100644
@@ -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 on v1 1/1
#1 lore raw
Quoted 10 lines · Dan Carpenter

This line was indented too far.

drivers/clk/socfpga/clk-gate-a10.c +0 -0
index be3e998..83c6780 100644

drivers/clk/socfpga/clk-gate-a10.c static unsigned long socfpga_gate_clk_recalc_rate(struct clk_hw *hwclk, · line 45

Quoted 8 lines
drivers/clk/socfpga/clk-gate-a10.c +1 -1
@@ -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;
#2 lore raw

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

Quoted 19 lines · Dan Carpenter
Quoted 16 lines

This line was indented too far.

drivers/clk/socfpga/clk-gate-a10.c +1 -1
index be3e998..83c6780 100644
@@ -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);
      }
 
Quoted 4 lines

drivers/clk/socfpga/clk-gate-a10.c static unsigned long socfpga_gate_clk_recalc_rate(struct clk_hw *hwclk, · line 45

Quoted 2 lines
drivers/clk/socfpga/clk-gate-a10.c +0 -0
      return parent_rate / div;

Applied.

Regards,
Mike