[v2,3/8] clk: tegra: Fix inconsistent indenting
diff mbox

Message ID 1430196383-9190-4-git-send-email-k.kozlowski@samsung.com
State New, archived
Headers show

Commit Message

Krzysztof Kozlowski April 28, 2015, 4:46 a.m. UTC
Fix the indentation - spaces used instead of tabs and actually wrong
number of spaces.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 drivers/clk/tegra/clk-emc.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Comments

Stephen Boyd May 1, 2015, 6:46 p.m. UTC | #1
On 04/28, Krzysztof Kozlowski wrote:
> Fix the indentation - spaces used instead of tabs and actually wrong
> number of spaces.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  drivers/clk/tegra/clk-emc.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

What branch is this against? I don't see this in linux-next or
clk-next.
Krzysztof Kozlowski May 4, 2015, 1:47 a.m. UTC | #2
On 02.05.2015 03:46, Stephen Boyd wrote:
> On 04/28, Krzysztof Kozlowski wrote:
>> Fix the indentation - spaces used instead of tabs and actually wrong
>> number of spaces.
>>
>> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>> ---
>>   drivers/clk/tegra/clk-emc.c | 16 ++++++++--------
>>   1 file changed, 8 insertions(+), 8 deletions(-)
>
> What branch is this against? I don't see this in linux-next or
> clk-next.

It was rebased on next-20150427. But now I cannot find it in newer 
next... Could you skip these two patches then?

Best regards,
Krzysztof

Patch
diff mbox

diff --git a/drivers/clk/tegra/clk-emc.c b/drivers/clk/tegra/clk-emc.c
index 615da43a508d..8757feda4a11 100644
--- a/drivers/clk/tegra/clk-emc.c
+++ b/drivers/clk/tegra/clk-emc.c
@@ -130,11 +130,11 @@  static long emc_determine_rate(struct clk_hw *hw, unsigned long rate,
 
 	tegra = container_of(hw, struct tegra_clk_emc, hw);
 
-         for (i = 0; i < tegra->num_timings; i++) {
-                if (tegra->timings[i].ram_code != ram_code)
-                        continue;
+	for (i = 0; i < tegra->num_timings; i++) {
+		if (tegra->timings[i].ram_code != ram_code)
+			continue;
 
-                timing = tegra->timings + i;
+		timing = tegra->timings + i;
 
 		if (timing->rate > max_rate) {
 			i = min(i, 1);
@@ -145,11 +145,11 @@  static long emc_determine_rate(struct clk_hw *hw, unsigned long rate,
 			continue;
 
 		if (timing->rate >= rate)
-                        return timing->rate;
-        }
+			return timing->rate;
+	}
 
-        if (timing)
-                return timing->rate;
+	if (timing)
+		return timing->rate;
 
 	return __clk_get_rate(hw->clk);
 }