diff mbox series

[16/16] memory: samsung: exynos5422-dmc: Correct white space issues

Message ID 20200724182328.3348-17-krzk@kernel.org (mailing list archive)
State Not Applicable, archived
Headers show
Series memory: Further cleanups | expand

Commit Message

Krzysztof Kozlowski July 24, 2020, 6:23 p.m. UTC
Remove unneeded blank line and align indentation with open parenthesis.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/memory/samsung/exynos5422-dmc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Lukasz Luba Aug. 18, 2020, 8:22 a.m. UTC | #1
On 7/24/20 7:23 PM, Krzysztof Kozlowski wrote:
> Remove unneeded blank line and align indentation with open parenthesis.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>   drivers/memory/samsung/exynos5422-dmc.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c
> index 0388066a7d96..62a7193e3904 100644
> --- a/drivers/memory/samsung/exynos5422-dmc.c
> +++ b/drivers/memory/samsung/exynos5422-dmc.c
> @@ -1394,7 +1394,7 @@ static int exynos5_dmc_probe(struct platform_device *pdev)
>   		return PTR_ERR(dmc->base_drexi1);
>   
>   	dmc->clk_regmap = syscon_regmap_lookup_by_phandle(np,
> -				"samsung,syscon-clk");
> +							  "samsung,syscon-clk");
>   	if (IS_ERR(dmc->clk_regmap))
>   		return PTR_ERR(dmc->clk_regmap);
>   
> @@ -1473,7 +1473,6 @@ static int exynos5_dmc_probe(struct platform_device *pdev)
>   		exynos5_dmc_df_profile.polling_ms = 500;
>   	}
>   
> -
>   	dmc->df = devm_devfreq_add_device(dev, &exynos5_dmc_df_profile,
>   					  DEVFREQ_GOV_SIMPLE_ONDEMAND,
>   					  &dmc->gov_data);
> 

LGTM

Acked-by: Lukasz Luba <lukasz.luba@arm.com>

Regards,
Lukasz
diff mbox series

Patch

diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c
index 0388066a7d96..62a7193e3904 100644
--- a/drivers/memory/samsung/exynos5422-dmc.c
+++ b/drivers/memory/samsung/exynos5422-dmc.c
@@ -1394,7 +1394,7 @@  static int exynos5_dmc_probe(struct platform_device *pdev)
 		return PTR_ERR(dmc->base_drexi1);
 
 	dmc->clk_regmap = syscon_regmap_lookup_by_phandle(np,
-				"samsung,syscon-clk");
+							  "samsung,syscon-clk");
 	if (IS_ERR(dmc->clk_regmap))
 		return PTR_ERR(dmc->clk_regmap);
 
@@ -1473,7 +1473,6 @@  static int exynos5_dmc_probe(struct platform_device *pdev)
 		exynos5_dmc_df_profile.polling_ms = 500;
 	}
 
-
 	dmc->df = devm_devfreq_add_device(dev, &exynos5_dmc_df_profile,
 					  DEVFREQ_GOV_SIMPLE_ONDEMAND,
 					  &dmc->gov_data);