All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: EXYNOS: remove unnecessary header inclusions from exynos4/5 dt machine file
@ 2013-09-16  8:51 Jingoo Han
  2013-09-26  4:45 ` Kukjin Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2013-09-16  8:51 UTC (permalink / raw)
  To: 'Kukjin Kim'; +Cc: linux-samsung-soc, 'Jingoo Han'

mach-exynos{4,5}-dt.c include several header files that are not
really used.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 arch/arm/mach-exynos/mach-exynos4-dt.c |    4 ----
 arch/arm/mach-exynos/mach-exynos5-dt.c |    4 ----
 2 files changed, 8 deletions(-)

diff --git a/arch/arm/mach-exynos/mach-exynos4-dt.c b/arch/arm/mach-exynos/mach-exynos4-dt.c
index 0099c6c..3fc338f 100644
--- a/arch/arm/mach-exynos/mach-exynos4-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos4-dt.c
@@ -11,12 +11,8 @@
  * published by the Free Software Foundation.
 */
 
-#include <linux/kernel.h>
 #include <linux/of_platform.h>
 #include <linux/of_fdt.h>
-#include <linux/serial_core.h>
-#include <linux/memblock.h>
-#include <linux/clocksource.h>
 
 #include <asm/mach/arch.h>
 #include <plat/mfc.h>
diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
index f874b77..217e84f 100644
--- a/arch/arm/mach-exynos/mach-exynos5-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
@@ -11,14 +11,10 @@
 
 #include <linux/of_platform.h>
 #include <linux/of_fdt.h>
-#include <linux/memblock.h>
 #include <linux/io.h>
-#include <linux/clocksource.h>
 
 #include <asm/mach/arch.h>
 #include <mach/regs-pmu.h>
-
-#include <plat/cpu.h>
 #include <plat/mfc.h>
 
 #include "common.h"
-- 
1.7.10.4

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

* RE: [PATCH] ARM: EXYNOS: remove unnecessary header inclusions from exynos4/5 dt machine file
  2013-09-16  8:51 [PATCH] ARM: EXYNOS: remove unnecessary header inclusions from exynos4/5 dt machine file Jingoo Han
@ 2013-09-26  4:45 ` Kukjin Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2013-09-26  4:45 UTC (permalink / raw)
  To: 'Jingoo Han'; +Cc: linux-samsung-soc

Jingoo Han wrote:
> 
> mach-exynos{4,5}-dt.c include several header files that are not
> really used.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> ---
>  arch/arm/mach-exynos/mach-exynos4-dt.c |    4 ----
>  arch/arm/mach-exynos/mach-exynos5-dt.c |    4 ----
>  2 files changed, 8 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos/mach-exynos4-dt.c b/arch/arm/mach-
> exynos/mach-exynos4-dt.c
> index 0099c6c..3fc338f 100644
> --- a/arch/arm/mach-exynos/mach-exynos4-dt.c
> +++ b/arch/arm/mach-exynos/mach-exynos4-dt.c
> @@ -11,12 +11,8 @@
>   * published by the Free Software Foundation.
>  */
> 
> -#include <linux/kernel.h>
>  #include <linux/of_platform.h>
>  #include <linux/of_fdt.h>
> -#include <linux/serial_core.h>
> -#include <linux/memblock.h>
> -#include <linux/clocksource.h>
> 
>  #include <asm/mach/arch.h>
>  #include <plat/mfc.h>
> diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-
> exynos/mach-exynos5-dt.c
> index f874b77..217e84f 100644
> --- a/arch/arm/mach-exynos/mach-exynos5-dt.c
> +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
> @@ -11,14 +11,10 @@
> 
>  #include <linux/of_platform.h>
>  #include <linux/of_fdt.h>
> -#include <linux/memblock.h>
>  #include <linux/io.h>
> -#include <linux/clocksource.h>
> 
>  #include <asm/mach/arch.h>
>  #include <mach/regs-pmu.h>
> -
> -#include <plat/cpu.h>
>  #include <plat/mfc.h>
> 
>  #include "common.h"
> --
> 1.7.10.4

Looks good to me, applied.

Thanks,
Kukjin

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

end of thread, other threads:[~2013-09-26  4:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-16  8:51 [PATCH] ARM: EXYNOS: remove unnecessary header inclusions from exynos4/5 dt machine file Jingoo Han
2013-09-26  4:45 ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.