diff mbox

ARM: EXYNOS: remove unnecessary header inclusions from exynos4/5 dt machine file

Message ID 000001ceb2b9$e1936430$a4ba2c90$%han@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jingoo Han Sept. 16, 2013, 8:51 a.m. UTC
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(-)

Comments

kgene@kernel.org Sept. 26, 2013, 4:45 a.m. UTC | #1
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

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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"