diff mbox series

[4/6] ARM: uniphier: drop #include <log.h> again

Message ID 20200520033128.489370-4-yamada.masahiro@socionext.com
State Accepted
Commit 1e1518866fc8fa28f926440fe6ea3c00b4b18926
Headers show
Series [1/6] ARM: uniphier: include <asm/system.h> instead of <asm/cache.h> from psci.c | expand

Commit Message

Masahiro Yamada May 20, 2020, 3:31 a.m. UTC
I do not understand the changes made to these files by
commit f7ae49fc4f36 ("common: Drop log.h from common header").

  git show f7ae49fc4f36 -- arch/arm/mach-uniphier/

None of them uses the log function feature.

Simply revert the changes made to these files.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/mach-uniphier/board_init.c           | 1 -
 arch/arm/mach-uniphier/dram/ddrphy-training.c | 1 -
 arch/arm/mach-uniphier/dram/umc-pxs2.c        | 1 -
 arch/arm/mach-uniphier/micro-support-card.c   | 1 -
 arch/arm/mach-uniphier/nand-reset.c           | 1 -
 5 files changed, 5 deletions(-)

Comments

Simon Glass May 20, 2020, 2:20 p.m. UTC | #1
Hi Masahiro,

On Tue, 19 May 2020 at 21:32, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
>
> I do not understand the changes made to these files by
> commit f7ae49fc4f36 ("common: Drop log.h from common header").
>
>   git show f7ae49fc4f36 -- arch/arm/mach-uniphier/
>
> None of them uses the log function feature.
>
> Simply revert the changes made to these files.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
>  arch/arm/mach-uniphier/board_init.c           | 1 -
>  arch/arm/mach-uniphier/dram/ddrphy-training.c | 1 -
>  arch/arm/mach-uniphier/dram/umc-pxs2.c        | 1 -
>  arch/arm/mach-uniphier/micro-support-card.c   | 1 -
>  arch/arm/mach-uniphier/nand-reset.c           | 1 -
>  5 files changed, 5 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

Uniphier is very unusual in that it doesn't include common.h in quite
a few files. I hope by the next time we get to RC2 common.h will be
empty apart from config.h.

Regards,
Simon
diff mbox series

Patch

diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c
index 6bf0811edb..4f9cd6e722 100644
--- a/arch/arm/mach-uniphier/board_init.c
+++ b/arch/arm/mach-uniphier/board_init.c
@@ -5,7 +5,6 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro at socionext.com>
  */
 
-#include <log.h>
 #include <linux/errno.h>
 #include <linux/io.h>
 #include <linux/printk.h>
diff --git a/arch/arm/mach-uniphier/dram/ddrphy-training.c b/arch/arm/mach-uniphier/dram/ddrphy-training.c
index c26f56367e..1decdf1cbf 100644
--- a/arch/arm/mach-uniphier/dram/ddrphy-training.c
+++ b/arch/arm/mach-uniphier/dram/ddrphy-training.c
@@ -4,7 +4,6 @@ 
  * Copyright (C) 2015-2016 Socionext Inc.
  */
 
-#include <log.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-uniphier/dram/umc-pxs2.c b/arch/arm/mach-uniphier/dram/umc-pxs2.c
index 24c6802a27..73574201e3 100644
--- a/arch/arm/mach-uniphier/dram/umc-pxs2.c
+++ b/arch/arm/mach-uniphier/dram/umc-pxs2.c
@@ -7,7 +7,6 @@ 
  * Copyright (C) 2015 Socionext Inc.
  */
 
-#include <log.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-uniphier/micro-support-card.c b/arch/arm/mach-uniphier/micro-support-card.c
index d23c0bd129..84c377766a 100644
--- a/arch/arm/mach-uniphier/micro-support-card.c
+++ b/arch/arm/mach-uniphier/micro-support-card.c
@@ -8,7 +8,6 @@ 
 #include <common.h>
 #include <dm/of.h>
 #include <fdt_support.h>
-#include <log.h>
 #include <linux/ctype.h>
 #include <linux/delay.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-uniphier/nand-reset.c b/arch/arm/mach-uniphier/nand-reset.c
index dbf54aa910..11cadaabd8 100644
--- a/arch/arm/mach-uniphier/nand-reset.c
+++ b/arch/arm/mach-uniphier/nand-reset.c
@@ -4,7 +4,6 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro at socionext.com>
  */
 
-#include <log.h>
 #include <linux/errno.h>
 #include <dm.h>
 #include <dm/uclass-internal.h>