Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1660060 > unrolled thread

[PATCH] cpufreq: exynos5440: Fix inconsistent indenting

Started byKrzysztof Kozlowski <krzk@kernel.org>
First post2017-06-07 20:20 +0200
Last post2017-06-08 05:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] cpufreq: exynos5440: Fix inconsistent indenting Krzysztof Kozlowski <krzk@kernel.org> - 2017-06-07 20:20 +0200
    Re: [PATCH] cpufreq: exynos5440: Fix inconsistent indenting Viresh Kumar <viresh.kumar@linaro.org> - 2017-06-08 05:50 +0200

#1660060 — [PATCH] cpufreq: exynos5440: Fix inconsistent indenting

FromKrzysztof Kozlowski <krzk@kernel.org>
Date2017-06-07 20:20 +0200
Subject[PATCH] cpufreq: exynos5440: Fix inconsistent indenting
Message-ID<tPNIJ-1Ge-17@gated-at.bofh.it>
Fix inconsistent indenting and unneeded white space in assignment.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/cpufreq/exynos5440-cpufreq.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c
index 9180d34cc9fc..b6b369c22272 100644
--- a/drivers/cpufreq/exynos5440-cpufreq.c
+++ b/drivers/cpufreq/exynos5440-cpufreq.c
@@ -173,12 +173,12 @@ static void exynos_enable_dvfs(unsigned int cur_frequency)
 	/* Enable PSTATE Change Event */
 	tmp = __raw_readl(dvfs_info->base + XMU_PMUEVTEN);
 	tmp |= (1 << PSTATE_CHANGED_EVTEN_SHIFT);
-	 __raw_writel(tmp, dvfs_info->base + XMU_PMUEVTEN);
+	__raw_writel(tmp, dvfs_info->base + XMU_PMUEVTEN);
 
 	/* Enable PSTATE Change IRQ */
 	tmp = __raw_readl(dvfs_info->base + XMU_PMUIRQEN);
 	tmp |= (1 << PSTATE_CHANGED_IRQEN_SHIFT);
-	 __raw_writel(tmp, dvfs_info->base + XMU_PMUIRQEN);
+	__raw_writel(tmp, dvfs_info->base + XMU_PMUIRQEN);
 
 	/* Set initial performance index */
 	cpufreq_for_each_entry(pos, freq_table)
@@ -330,7 +330,7 @@ static int exynos_cpufreq_probe(struct platform_device *pdev)
 	struct resource res;
 	unsigned int cur_frequency;
 
-	np =  pdev->dev.of_node;
+	np = pdev->dev.of_node;
 	if (!np)
 		return -ENODEV;
 
-- 
2.9.3

[toc] | [next] | [standalone]


#1660712

FromViresh Kumar <viresh.kumar@linaro.org>
Date2017-06-08 05:50 +0200
Message-ID<tPWCm-7iA-7@gated-at.bofh.it>
In reply to#1660060
On 07-06-17, 20:13, Krzysztof Kozlowski wrote:
> Fix inconsistent indenting and unneeded white space in assignment.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  drivers/cpufreq/exynos5440-cpufreq.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c
> index 9180d34cc9fc..b6b369c22272 100644
> --- a/drivers/cpufreq/exynos5440-cpufreq.c
> +++ b/drivers/cpufreq/exynos5440-cpufreq.c
> @@ -173,12 +173,12 @@ static void exynos_enable_dvfs(unsigned int cur_frequency)
>  	/* Enable PSTATE Change Event */
>  	tmp = __raw_readl(dvfs_info->base + XMU_PMUEVTEN);
>  	tmp |= (1 << PSTATE_CHANGED_EVTEN_SHIFT);
> -	 __raw_writel(tmp, dvfs_info->base + XMU_PMUEVTEN);
> +	__raw_writel(tmp, dvfs_info->base + XMU_PMUEVTEN);
>  
>  	/* Enable PSTATE Change IRQ */
>  	tmp = __raw_readl(dvfs_info->base + XMU_PMUIRQEN);
>  	tmp |= (1 << PSTATE_CHANGED_IRQEN_SHIFT);
> -	 __raw_writel(tmp, dvfs_info->base + XMU_PMUIRQEN);
> +	__raw_writel(tmp, dvfs_info->base + XMU_PMUIRQEN);
>  
>  	/* Set initial performance index */
>  	cpufreq_for_each_entry(pos, freq_table)
> @@ -330,7 +330,7 @@ static int exynos_cpufreq_probe(struct platform_device *pdev)
>  	struct resource res;
>  	unsigned int cur_frequency;
>  
> -	np =  pdev->dev.of_node;
> +	np = pdev->dev.of_node;
>  	if (!np)
>  		return -ENODEV;

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web