linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpufreq: exynos5440: Fix inconsistent indenting
@ 2017-06-07 18:13 Krzysztof Kozlowski
  2017-06-08  3:47 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2017-06-07 18:13 UTC (permalink / raw)
  To: Rafael J. Wysocki, Viresh Kumar, Kukjin Kim, Krzysztof Kozlowski,
	linux-pm, linux-arm-kernel, linux-samsung-soc, linux-kernel

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

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

* Re: [PATCH] cpufreq: exynos5440: Fix inconsistent indenting
  2017-06-07 18:13 [PATCH] cpufreq: exynos5440: Fix inconsistent indenting Krzysztof Kozlowski
@ 2017-06-08  3:47 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2017-06-08  3:47 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rafael J. Wysocki, Kukjin Kim, linux-pm, linux-arm-kernel,
	linux-samsung-soc, linux-kernel

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

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

end of thread, other threads:[~2017-06-08  3:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-07 18:13 [PATCH] cpufreq: exynos5440: Fix inconsistent indenting Krzysztof Kozlowski
2017-06-08  3:47 ` Viresh Kumar

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).